electrum

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

commit f97d83b7f4b52d43229c31897a4e682fc3bf6a5f
parent 253df89af5a9a84881a66faa3105d766f63a4bb8
Author: ThomasV <thomasv@electrum.org>
Date:   Fri,  6 Jan 2017 19:17:17 +0100

fix fiat visibility on startup

Diffstat:
Mgui/qt/main_window.py | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py @@ -706,6 +706,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): self.receive_amount_e.textChanged.connect(self.update_receive_qr) self.fiat_receive_e = AmountEdit(self.fx.get_currency) + self.fiat_receive_e.setVisible(self.fx.is_enabled()) grid.addWidget(self.fiat_receive_e, 2, 2, Qt.AlignLeft) self.connect_fields(self, self.receive_amount_e, self.fiat_receive_e, None) @@ -962,6 +963,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): grid.addWidget(self.amount_e, 4, 1) self.fiat_send_e = AmountEdit(self.fx.get_currency) + self.fiat_send_e.setVisible(self.fx.is_enabled()) grid.addWidget(self.fiat_send_e, 4, 2, Qt.AlignLeft) self.amount_e.frozen.connect( lambda: self.fiat_send_e.setFrozen(self.amount_e.isReadOnly()))