From 8ce7c00d5401013ad0ad238ba0fe553d32b6dbf9 Mon Sep 17 00:00:00 2001 From: Glutanimate Date: Sat, 28 Jul 2018 09:25:38 +0200 Subject: [PATCH] Pass new config on to add-on --- aqt/addons.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aqt/addons.py b/aqt/addons.py index a1286a830..9924bcd67 100644 --- a/aqt/addons.py +++ b/aqt/addons.py @@ -493,8 +493,9 @@ class ConfigEditor(QDialog): if new_conf != self.conf: self.mgr.writeConfig(self.addon, new_conf) + # does the add-on define an action to be fired? act = self.mgr.configUpdatedAction(self.addon) if act: - act() + act(new_conf) super().accept()