mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -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)
|
text = gui_hooks.addon_config_editor_will_display_json(text)
|
||||||
self.form.editor.setPlainText(text)
|
self.form.editor.setPlainText(text)
|
||||||
|
if isMac:
|
||||||
|
self.form.editor.repaint()
|
||||||
|
|
||||||
def onClose(self):
|
def onClose(self):
|
||||||
saveGeom(self, "addonconf")
|
saveGeom(self, "addonconf")
|
||||||
|
|
Loading…
Reference in a new issue