1
0

qt: show send tab if payment identifier is passed on the cmdline

This commit is contained in:
Sander van Grieken
2023-07-07 20:48:29 +02:00
parent 9b41bcf992
commit db6779bf04
2 changed files with 7 additions and 6 deletions

View File

@@ -393,6 +393,7 @@ class ElectrumGui(BaseElectrumGui, Logger):
window.setWindowState(window.windowState() & ~QtCore.Qt.WindowMinimized | QtCore.Qt.WindowActive)
window.activateWindow()
if uri:
window.show_send_tab()
window.send_tab.set_payment_identifier(uri)
return window