(trunk-1615) Start 'New Layout #' from 1. Looked strange starting at 2
This commit is contained in:
parent
94b577484b
commit
ac53de6afb
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue