diff --git a/extensions/Tutorial3/__init__.py b/extensions/Tutorial3/__init__.py index e55a3b1..c9364e0 100644 --- a/extensions/Tutorial3/__init__.py +++ b/extensions/Tutorial3/__init__.py @@ -24,9 +24,9 @@ from Tutorial3.TutorialButton import TutorialButton class Tutorial3_Plugin(Falkon.PluginInterface, QtCore.QObject): - def init(self, state, settingsPath): - self.buttons = {} + buttons = {} + def init(self, state, settingsPath): plugins = Falkon.MainApplication.instance().plugins() plugins.mainWindowCreated.connect(self.mainWindowCreated)