commit 9f4f7ee3c6ee0fbc6bdb4185cb3ded9108120b13
parent fac2bc7387e4ba19232d253da848f3fafa038388
Author: Jimbo77 <onlineregular@gmail.com>
Date: Wed, 22 Aug 2012 17:45:19 -0700
created docstring for set_button_amount()
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/gui_lite.py b/lib/gui_lite.py
@@ -318,6 +318,8 @@ class MiniWindow(QDialog):
self.amount_input.setText("")
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."""
if (self.address_input.property("isValid") == True and
len(self.amount_input.text()) > 0):
self.send_button.setDisabled(False)