tFix check_button_status. QVariant returned by property(...) will not return a python bool object, but it can evaluate. - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit 75f8878562ae95fd13a3902ca364a94f10d1ef43 (DIR) parent 2993f2313f844e34f09099ed1f46b08d9c420c0e (HTM) Author: Amir Taaki <genjix@riseup.net> Date: Mon, 13 Aug 2012 20:57:49 +0100 Fix check_button_status. QVariant returned by property(...) will not return a python bool object, but it can evaluate. Diffstat: M lib/gui_lite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/lib/gui_lite.py b/lib/gui_lite.py t@@ -303,7 +303,7 @@ class MiniWindow(QDialog): self.amount_input.setText("") def check_button_status(self): - if (self.address_input.property("isValid") is True and + if (self.address_input.property("isValid") and len(self.amount_input.text()) > 0): self.send_button.setDisabled(False) else: