mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
work around yet another qt bug
https://anki.tenderapp.com/discussions/beta-testing/2017-httpsforumsankiwebnettrestore-defaults-config-not-visually-updated420
This commit is contained in:
parent
d99ea0c7a0
commit
5e5dc517ca
1 changed files with 2 additions and 0 deletions
|
@ -1320,6 +1320,8 @@ class ConfigEditor(QDialog):
|
|||
)
|
||||
text = gui_hooks.addon_config_editor_will_display_json(text)
|
||||
self.form.editor.setPlainText(text)
|
||||
if isMac:
|
||||
self.form.editor.repaint()
|
||||
|
||||
def onClose(self):
|
||||
saveGeom(self, "addonconf")
|
||||
|
|
Loading…
Reference in a new issue