commit df012e66ab2f8245583195e3cbdfad15db5ee8bf
parent 00eb39a5601898747ad3cb7da817a76d84402934
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 5 Oct 2016 07:18:18 +0200
fix #1948
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
@@ -954,6 +954,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
self.amount_e.shortcut.connect(self.spend_max)
self.payto_e.textChanged.connect(self.update_fee)
self.amount_e.textEdited.connect(self.update_fee)
+ self.amount_e.textEdited.connect(self.reset_max)
def entry_changed():
text = ""
@@ -1015,6 +1016,9 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
self.amount_e.textEdited.emit("")
self.is_max = True
+ def reset_max(self):
+ self.is_max = False
+
def update_fee(self):
self.require_fee_update = True