mirror of
https://github.com/ankitects/anki.git
synced 2025-12-17 00:30:58 -05:00
make help text selectable
This allows the user to copy e.g. values so that they don't have to retype them which might introduce typos.
This commit is contained in:
parent
b018dba073
commit
e745677145
1 changed files with 1 additions and 0 deletions
|
|
@ -1282,6 +1282,7 @@ class ConfigEditor(QDialog):
|
|||
self.mgr = dlg.mgr
|
||||
self.form = aqt.forms.addonconf.Ui_Dialog()
|
||||
self.form.setupUi(self)
|
||||
self.form.label.setTextInteractionFlags(Qt.TextSelectableByMouse)
|
||||
restore = self.form.buttonBox.button(QDialogButtonBox.RestoreDefaults)
|
||||
restore.clicked.connect(self.onRestoreDefaults)
|
||||
self.setupFonts()
|
||||
|
|
|
|||
Loading…
Reference in a new issue