commit bb2c3475cc8f9e8b5ed3ef636627feae38d6e093
parent 8cd8c6612ded78f55b500d3c0d51e527e27fca4b
Author: SomberNight <somber.night@protonmail.com>
Date: Tue, 3 Sep 2019 18:56:09 +0200
qt main_window: fix receive_at, rm dead code
Diffstat:
1 file changed, 0 insertions(+), 6 deletions(-)
diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py
@@ -1114,11 +1114,6 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):
self.show_message(_("Request saved successfully"))
self.saved = True
- def set_receive_address(self, addr):
- self.receive_address_e.setText(addr)
- self.receive_message_e.setText('')
- self.receive_amount_e.setAmount(None)
-
def clear_receive_tab(self):
self.receive_address_e.setText('')
self.receive_message_e.setText('')
@@ -1152,7 +1147,6 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):
return
self.show_receive_tab()
self.receive_address_e.setText(addr)
- self.new_request_button.setEnabled(True)
def update_receive_qr(self):
uri = str(self.receive_address_e.text())