Better support for USB devices
Benefits of this rewrite include: - support of disconnecting / reconnecting a device without having to close the wallet, even in a different USB socket - support of multiple keepkey / trezor devices, both during wallet creation and general use - wallet is watching-only dynamically according to whether the associated device is currently plugged in or not
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
from plugins.trezor.qt_generic import QtPlugin
|
||||
from plugins.trezor.qt_generic import qt_plugin_class
|
||||
from trezor import TrezorPlugin
|
||||
|
||||
|
||||
class Plugin(QtPlugin):
|
||||
class Plugin(qt_plugin_class(TrezorPlugin)):
|
||||
icon_file = ":icons/trezor.png"
|
||||
|
||||
@staticmethod
|
||||
def pin_matrix_widget_class():
|
||||
@classmethod
|
||||
def pin_matrix_widget_class(self):
|
||||
from trezorlib.qt.pinmatrix import PinMatrixWidget
|
||||
return PinMatrixWidget
|
||||
|
||||
Reference in New Issue
Block a user