mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
show field numbers for easier positioning
This commit is contained in:
parent
7b844d12cb
commit
0b15a4a3b3
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue