plugins are notified of exiting so they can save config etc

This commit is contained in:
Tristan Rowley
2020-02-29 14:58:19 +00:00
parent a0adb742e2
commit 5e3f148957
5 changed files with 17 additions and 11 deletions

View File

@@ -25,6 +25,10 @@ class ShaderQuickPresetPlugin(ActionsPlugin): #,SequencePlugin):
def save_presets(self):
self.pc.update_json(self.PRESET_FILE_NAME, self.presets)
def quit_plugin(self):
super().quit_plugin()
self.save_presets()
@property
def parserlist(self):
return [