qml: fix flake errors
This commit is contained in:
@@ -12,7 +12,7 @@ class PluginQObject(QObject):
|
|||||||
|
|
||||||
_busy = False
|
_busy = False
|
||||||
|
|
||||||
def __init__(self, plugin, parent: 'ElectrumGuiApplication'):
|
def __init__(self, plugin, parent):
|
||||||
super().__init__(parent)
|
super().__init__(parent)
|
||||||
self.plugin = plugin
|
self.plugin = plugin
|
||||||
self.app = parent
|
self.app = parent
|
||||||
|
|||||||
@@ -117,7 +117,7 @@ class Plugin(LabelsPlugin):
|
|||||||
_wallet.labelsUpdated.emit()
|
_wallet.labelsUpdated.emit()
|
||||||
|
|
||||||
@hook
|
@hook
|
||||||
def init_qml(self, gui: 'ElectrumGui'):
|
def init_qml(self, gui):
|
||||||
self.logger.debug(f'init_qml hook called, gui={str(type(gui))}')
|
self.logger.debug(f'init_qml hook called, gui={str(type(gui))}')
|
||||||
self._app = gui.app
|
self._app = gui.app
|
||||||
# important: QSignalObject needs to be parented, as keeping a ref
|
# important: QSignalObject needs to be parented, as keeping a ref
|
||||||
|
|||||||
Reference in New Issue
Block a user