Pass new config on to add-on
This commit is contained in:
parent
ee3357a943
commit
8ce7c00d54
@ -493,8 +493,9 @@ class ConfigEditor(QDialog):
|
|||||||
|
|
||||||
if new_conf != self.conf:
|
if new_conf != self.conf:
|
||||||
self.mgr.writeConfig(self.addon, new_conf)
|
self.mgr.writeConfig(self.addon, new_conf)
|
||||||
|
# does the add-on define an action to be fired?
|
||||||
act = self.mgr.configUpdatedAction(self.addon)
|
act = self.mgr.configUpdatedAction(self.addon)
|
||||||
if act:
|
if act:
|
||||||
act()
|
act(new_conf)
|
||||||
|
|
||||||
super().accept()
|
super().accept()
|
||||||
|
Loading…
Reference in New Issue
Block a user