Tutorial3: Make buttons class/object variable
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
This commit is contained in:
parent
4baa816d77
commit
1d451f4ca4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user