1
0

hw plugins: fix only_hook_if_libraries_available

follow-up f9a5f2e183
This commit is contained in:
SomberNight
2018-09-30 00:25:36 +02:00
parent ce5cc135cd
commit 70c32590a9
7 changed files with 9 additions and 7 deletions

View File

@@ -195,8 +195,8 @@ class QtPlugin(QtPluginBase):
def create_handler(self, window):
return QtHandler(window, self.pin_matrix_widget_class(), self.device)
@hook
@only_hook_if_libraries_available
@hook
def receive_menu(self, menu, addrs, wallet):
if type(wallet) is not Standard_Wallet:
return