commit c5ee6bf57c79b5f8950a123902cb1d1ed2e2a8dd
parent 717a8a5ca7a1584a069b440acfe90282fe7e5812
Author: ThomasV <thomasv@gitorious>
Date: Sat, 15 Aug 2015 13:39:11 +0200
emit signal for fiat_amount update
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
@@ -1015,6 +1015,8 @@ class ElectrumWindow(QMainWindow):
fee_per_kb = self.wallet.fee_per_kb(self.config)
self.fee_e.setAmount(self.wallet.estimated_fee(dummy_tx, fee_per_kb))
self.amount_e.setAmount(max(0, sendable - self.fee_e.get_amount()))
+ # emit signal for fiat_amount update
+ self.amount_e.textEdited.emit("")
self.amount_e.shortcut.connect(on_shortcut)