From 9f4f7ee3c6ee0fbc6bdb4185cb3ded9108120b13 Mon Sep 17 00:00:00 2001 From: Jimbo77 Date: Wed, 22 Aug 2012 17:45:19 -0700 Subject: [PATCH] created docstring for set_button_amount() --- lib/gui_lite.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/gui_lite.py b/lib/gui_lite.py index 07bf9d8a..8ba16b04 100644 --- 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)