mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
"Fields for ..."
https://forums.ankiweb.net/t/add-note-type-name-to-the-fields-editor/52263
This commit is contained in:
parent
3c20b49cca
commit
69ac450098
1 changed files with 4 additions and 4 deletions
|
@ -41,15 +41,15 @@ class FieldDialog(QDialog):
|
||||||
self.model = nt
|
self.model = nt
|
||||||
self.mm._remove_from_cache(self.model["id"])
|
self.mm._remove_from_cache(self.model["id"])
|
||||||
self.change_tracker = ChangeTracker(self.mw)
|
self.change_tracker = ChangeTracker(self.mw)
|
||||||
|
self.webview = None
|
||||||
|
|
||||||
|
self.form = aqt.forms.fields.Ui_Dialog()
|
||||||
|
self.form.setupUi(self)
|
||||||
|
|
||||||
self.setWindowTitle(
|
self.setWindowTitle(
|
||||||
without_unicode_isolation(tr.fields_fields_for(val=self.model["name"]))
|
without_unicode_isolation(tr.fields_fields_for(val=self.model["name"]))
|
||||||
)
|
)
|
||||||
|
|
||||||
self.form = aqt.forms.fields.Ui_Dialog()
|
|
||||||
self.form.setupUi(self)
|
|
||||||
self.webview = None
|
|
||||||
|
|
||||||
disable_help_button(self)
|
disable_help_button(self)
|
||||||
help_button = self.form.buttonBox.button(QDialogButtonBox.StandardButton.Help)
|
help_button = self.form.buttonBox.button(QDialogButtonBox.StandardButton.Help)
|
||||||
assert help_button is not None
|
assert help_button is not None
|
||||||
|
|
Loading…
Reference in a new issue