mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-11 19:00:04 +01:00
plugins are notified of exiting so they can save config etc
This commit is contained in:
@@ -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 [
|
||||
|
||||
Reference in New Issue
Block a user