mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Add hotkey to save add-on config (#1492)
This commit is contained in:
parent
757cabf915
commit
65d10c2765
1 changed files with 2 additions and 0 deletions
|
@ -1484,6 +1484,8 @@ class ConfigEditor(QDialog):
|
|||
QDialogButtonBox.StandardButton.RestoreDefaults
|
||||
)
|
||||
qconnect(restore.clicked, self.onRestoreDefaults)
|
||||
ok = self.form.buttonBox.button(QDialogButtonBox.StandardButton.Ok)
|
||||
ok.setShortcut(QKeySequence("Ctrl+Return"))
|
||||
self.setupFonts()
|
||||
self.updateHelp()
|
||||
self.updateText(self.conf)
|
||||
|
|
Loading…
Reference in a new issue