1
0

ln: request_list: post rebase fixup (remove new_request_button deactivation)

This commit is contained in:
Janus
2019-01-23 18:25:58 +01:00
committed by ThomasV
parent 02798aeb39
commit 1f1207ecbe
2 changed files with 3 additions and 9 deletions

View File

@@ -113,14 +113,7 @@ class RequestList(MyTreeView):
self.parent.expires_combo.show()
domain = self.wallet.get_receiving_addresses()
try:
addr = self.wallet.get_unused_address()
except InternalAddressCorruption as e:
self.parent.show_error(str(e))
addr = ''
if current_address not in domain and addr:
self.parent.set_receive_address(addr)
self.parent.new_request_button.setEnabled(addr != current_address)
self.parent.update_receive_address_styling()
self.model().clear()