Start 'New Layout #' from 1. Looked strange starting at 2

This commit is contained in:
Stephen Boddy 2015-08-13 22:16:42 +02:00
parent 4d662af20d
commit 9decbaf43e
1 changed files with 1 additions and 1 deletions

View File

@ -1126,7 +1126,7 @@ class PrefsEditor:
name = _('New Layout') name = _('New Layout')
if name in values: if name in values:
i = 1 i = 0
while name in values: while name in values:
i = i + 1 i = i + 1
name = '%s %d' % (_('New Layout'), i) name = '%s %d' % (_('New Layout'), i)