got rid of boolean value comparison using == as stated in pep8 style guide
This commit is contained in:
@@ -320,7 +320,7 @@ class MiniWindow(QDialog):
|
|||||||
def check_button_status(self):
|
def check_button_status(self):
|
||||||
"""Check that the bitcoin address is valid and that something
|
"""Check that the bitcoin address is valid and that something
|
||||||
is entered in the amount before making the send button clickable."""
|
is entered in the amount before making the send button clickable."""
|
||||||
if (self.address_input.property("isValid") == True and
|
if (self.address_input.property("isValid") and
|
||||||
len(self.amount_input.text()) > 0):
|
len(self.amount_input.text()) > 0):
|
||||||
self.send_button.setDisabled(False)
|
self.send_button.setDisabled(False)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user