mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Add tooltip feedback for restoring defaults
Changes might not always be apparent, so a tooltip might help.
This commit is contained in:
parent
d02fd025e1
commit
8725583c97
1 changed files with 1 additions and 0 deletions
|
@ -648,6 +648,7 @@ class ConfigEditor(QDialog):
|
|||
def onRestoreDefaults(self):
|
||||
default_conf = self.mgr.addonConfigDefaults(self.addon)
|
||||
self.updateText(default_conf)
|
||||
tooltip(_("Restored defaults"), parent=self)
|
||||
|
||||
def setupFonts(self):
|
||||
font_mono = QFontDatabase.systemFont(QFontDatabase.FixedFont)
|
||||
|
|
Loading…
Reference in a new issue