From ac53de6afb96647c35cae70d84f23848b4601326 Mon Sep 17 00:00:00 2001 From: Stephen Boddy Date: Tue, 1 Sep 2015 23:04:16 +0200 Subject: [PATCH] (trunk-1615) 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 d44ac851..f691244f 100755 --- a/terminatorlib/prefseditor.py +++ b/terminatorlib/prefseditor.py @@ -1077,7 +1077,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)