electrum

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

commit 89953895f8daa60ef83f62492d0df878078f2909
parent 77b3052f44f796c6f8cc2f7151cd662cc373a1fe
Author: Amir Taaki <genjix@riseup.net>
Date:   Thu, 23 Aug 2012 10:09:54 +0100

Added explanation to line returning qVariant for future eyes.

Diffstat:
Mlib/gui_lite.py | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/lib/gui_lite.py b/lib/gui_lite.py @@ -322,6 +322,8 @@ class MiniWindow(QDialog): def check_button_status(self): """Check that the bitcoin address is valid and that something is entered in the amount before making the send button clickable.""" + # self.address_input.property(...) returns a qVariant, not a bool. + # The == is needed to properly invoke a comparison. if (self.address_input.property("isValid") == True and len(self.amount_input.text()) > 0): self.send_button.setDisabled(False)