From 9decbaf43e5b1317eedb90a2400e4d54d8963876 Mon Sep 17 00:00:00 2001 From: Stephen Boddy Date: Thu, 13 Aug 2015 22:16:42 +0200 Subject: [PATCH] Start 'New Layout #' from 1. Looked strange starting at 2 --- terminatorlib/prefseditor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminatorlib/prefseditor.py b/terminatorlib/prefseditor.py index 95a94bc4..6e741ae1 100755 --- a/terminatorlib/prefseditor.py +++ b/terminatorlib/prefseditor.py @@ -1126,7 +1126,7 @@ class PrefsEditor: name = _('New Layout') if name in values: - i = 1 + i = 0 while name in values: i = i + 1 name = '%s %d' % (_('New Layout'), i)