Start 'New Layout #' from 1. Looked strange starting at 2
This commit is contained in:
parent
4d662af20d
commit
9decbaf43e
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue