(trunk-1615) Start 'New Layout #' from 1. Looked strange starting at 2

This commit is contained in:
Stephen Boddy 2015-09-01 23:04:16 +02:00
parent 94b577484b
commit ac53de6afb
1 changed files with 1 additions and 1 deletions

View File

@ -1077,7 +1077,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)