move init_qt hook
This commit is contained in:
parent
d0e2f0a5db
commit
c3991091de
@ -168,8 +168,6 @@ class BasePlugin:
|
|||||||
self.set_enabled(False)
|
self.set_enabled(False)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def init_qt(self, gui): pass
|
|
||||||
|
|
||||||
@hook
|
@hook
|
||||||
def load_wallet(self, wallet, window): pass
|
def load_wallet(self, wallet, window): pass
|
||||||
|
|
||||||
|
|||||||
@ -35,6 +35,10 @@ class Plugin(BasePlugin):
|
|||||||
'Linux': 'libportaudio.so'
|
'Linux': 'libportaudio.so'
|
||||||
}[platform.system()]
|
}[platform.system()]
|
||||||
|
|
||||||
|
@hook
|
||||||
|
def init_qt(self, gui):
|
||||||
|
pass
|
||||||
|
|
||||||
def is_available(self):
|
def is_available(self):
|
||||||
return amodem is not None
|
return amodem is not None
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user