electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 2d944919742c99647370812ced13a2230d9ade7d
parent 800ea1e3005e391ae152e51c0b5d7bc8a78157f9
Author: SomberNight <somber.night@protonmail.com>
Date:   Tue, 20 Mar 2018 14:15:54 +0100

fix #4152. and clean up imports

Diffstat:
Mplugins/ledger/qt.py | 16+++++-----------
1 file changed, 5 insertions(+), 11 deletions(-)

diff --git a/plugins/ledger/qt.py b/plugins/ledger/qt.py @@ -1,15 +1,13 @@ -import threading - -from PyQt5.Qt import QInputDialog, QLineEdit, QVBoxLayout, QLabel +#from btchip.btchipPersoWizard import StartBTChipPersoDialog from electrum.i18n import _ from electrum.plugins import hook from electrum.wallet import Standard_Wallet +from electrum_gui.qt.util import * + from .ledger import LedgerPlugin from ..hw_wallet.qt import QtHandlerBase, QtPluginBase -from electrum_gui.qt.util import * -#from btchip.btchipPersoWizard import StartBTChipPersoDialog class Plugin(LedgerPlugin, QtPluginBase): icon_unpaired = ":icons/ledger_unpaired.png" @@ -77,11 +75,7 @@ class Ledger_Handler(QtHandlerBase): return def setup_dialog(self): + self.show_error(_('Initialization of Ledger HW devices is currently disabled.')) + return dialog = StartBTChipPersoDialog() dialog.exec_() - - - - - -