call init_qt everytime a plugin is enabled
This commit is contained in:
@@ -79,16 +79,6 @@ class BasePlugin:
|
||||
|
||||
def requires_settings(self):
|
||||
return False
|
||||
|
||||
def toggle(self):
|
||||
if self.is_enabled():
|
||||
if self.disable():
|
||||
self.close()
|
||||
else:
|
||||
if self.enable():
|
||||
self.init()
|
||||
|
||||
return self.is_enabled()
|
||||
|
||||
def enable(self):
|
||||
self.set_enabled(True)
|
||||
|
||||
Reference in New Issue
Block a user