|
@ -303,11 +303,11 @@ class MiniWindow(QDialog): |
|
|
self.amount_input.setText("") |
|
|
self.amount_input.setText("") |
|
|
|
|
|
|
|
|
def check_button_status(self): |
|
|
def check_button_status(self): |
|
|
if (self.address_input.property("isValid") is True and |
|
|
if (self.address_input.property("isValid") is True 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: |
|
|
self.send_button.setDisabled(True) |
|
|
self.send_button.setDisabled(True) |
|
|
|
|
|
|
|
|
def address_field_changed(self, address): |
|
|
def address_field_changed(self, address): |
|
|
if self.actuator.is_valid(address): |
|
|
if self.actuator.is_valid(address): |
|
|