Skip to content

Commit 92c683c

Browse files
Commented out the unwanted lines
1 parent 402ecac commit 92c683c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

electrum/gui/qt/receive_tab.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ def on_receive_swap():
146146
self.update_view_button()
147147
self.toolbar.insertWidget(2, self.toggle_view_button)
148148
# menu
149+
# menu.addConfig(self.config.cv.WALLET_BOLT11_FALLBACK, callback=self.on_toggle_bolt11_fallback)
150+
# menu.addConfig(self.config.cv.WALLET_BIP21_LIGHTNING, callback=self.update_current_request)
149151
self.qr_menu_action = menu.addToggle(_("Show detached QR code window"), self.window.toggle_qr_window)
150152
menu.addAction(_("Import requests"), self.window.import_requests)
151153
menu.addAction(_("Export requests"), self.window.export_requests)
@@ -196,6 +198,12 @@ def expiry_dialog(self):
196198
self.config.WALLET_PAYREQ_EXPIRY_SECONDS = v
197199
self.update_expiry_text()
198200

201+
# def on_toggle_bolt11_fallback(self):
202+
# if not self.wallet.lnworker:
203+
# return
204+
# self.wallet.lnworker.clear_invoices_cache()
205+
# self.update_current_request()
206+
199207
def update_view_button(self):
200208
i = self.config.GUI_QT_RECEIVE_TABS_INDEX
201209
if i == 0:

0 commit comments

Comments
 (0)