Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Commit 9044d0f

Browse files
committed
tweaks
1 parent 86fe175 commit 9044d0f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

electrum/gui/qt/receive_tab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def update_current_request(self):
274274
self.receive_rebalance_button.setEnabled(can_rebalance and self.window.num_tasks() == 0)
275275
self.receive_swap_button.setEnabled(can_swap and self.window.num_tasks() == 0)
276276
icon_name = "lightning.png" if lnaddr else "lightning_disconnected.png"
277-
self.receive_tabs.setTabIcon(2, read_QIcon(icon_name))
277+
#self.receive_tabs.setTabIcon(2, read_QIcon(icon_name))
278278
# encode lightning invoices as uppercase so QR encoding can use
279279
# alphanumeric mode; resulting in smaller QR codes
280280
lnaddr_qr = lnaddr.upper()

electrum/gui/qt/send_tab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,8 +577,8 @@ def set_bip21(self, text: str, *, can_use_network: bool = True):
577577
index = self.window.send_options.index(asset)
578578
self.to_send_combo.setCurrentIndex(index)
579579
except ValueError:
580-
self.show_error(_("Asset not available") + f":\n{asset}")
581580
self.payto_e.do_clear()
581+
self.show_error(_("Asset not available") + f":\n{asset}")
582582
return
583583
self.payto_URI = out
584584
r = out.get('r')

0 commit comments

Comments
 (0)