From 5e5dc517ca76940af9e459f8956db68df1ed3c79 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 24 Jun 2020 11:12:45 +1000 Subject: [PATCH] work around yet another qt bug https://anki.tenderapp.com/discussions/beta-testing/2017-httpsforumsankiwebnettrestore-defaults-config-not-visually-updated420 --- qt/aqt/addons.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qt/aqt/addons.py b/qt/aqt/addons.py index facf5262b..4e97c7789 100644 --- a/qt/aqt/addons.py +++ b/qt/aqt/addons.py @@ -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")