show field numbers for easier positioning
This commit is contained in:
parent
7b844d12cb
commit
0b15a4a3b3
@ -34,8 +34,8 @@ class FieldDialog(QDialog):
|
||||
def fillFields(self):
|
||||
self.currentIdx = None
|
||||
self.form.fieldList.clear()
|
||||
for f in self.model['flds']:
|
||||
self.form.fieldList.addItem(f['name'])
|
||||
for c, f in enumerate(self.model['flds']):
|
||||
self.form.fieldList.addItem("{}: {}".format(c+1, f['name']))
|
||||
|
||||
def setupSignals(self):
|
||||
f = self.form
|
||||
|
Loading…
Reference in New Issue
Block a user