mirror of
https://github.com/ModOrganizer2/modorganizer-tool_configurator.git
synced 2026-07-27 14:03:25 -07:00
Update following removal of IPlugin::isActive().
This commit is contained in:
+1
-6
@@ -393,13 +393,8 @@ class IniEdit(mobase.IPluginTool):
|
||||
def version(self):
|
||||
return mobase.VersionInfo(1, 2, 0, 0)
|
||||
|
||||
def isActive(self):
|
||||
return self.__organizer.pluginSetting(self.name(), "enabled") is True
|
||||
|
||||
def settings(self):
|
||||
return [
|
||||
mobase.PluginSetting("enabled", self.__tr("Enable plugin"), False)
|
||||
]
|
||||
return []
|
||||
|
||||
def displayName(self):
|
||||
return self.__tr("Configurator")
|
||||
|
||||
Reference in New Issue
Block a user