tcreated docstring for set_button_amount() - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit 9f4f7ee3c6ee0fbc6bdb4185cb3ded9108120b13 (DIR) parent fac2bc7387e4ba19232d253da848f3fafa038388 (HTM) Author: Jimbo77 <onlineregular@gmail.com> Date: Wed, 22 Aug 2012 17:45:19 -0700 created docstring for set_button_amount() Diffstat: M lib/gui_lite.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- (DIR) diff --git a/lib/gui_lite.py b/lib/gui_lite.py t@@ -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)