From 155b3703ace38bd1d993381a8f8258dff13e6db2 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 23 May 2022 09:49:17 +0200 Subject: [PATCH] QR window: fix tab order --- electrum/gui/qt/main_window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py index 852bc8199..ffea5e14d 100644 --- a/electrum/gui/qt/main_window.py +++ b/electrum/gui/qt/main_window.py @@ -1371,9 +1371,9 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger): if self.qr_window and self.qr_window.isVisible(): i = self.receive_tabs.currentIndex() if i == 0: - data = self.receive_address_qr.data - elif i == 1: data = self.receive_URI_qr.data + elif i == 1: + data = self.receive_address_qr.data else: data = self.receive_lightning_qr.data self.qr_window.qrw.setData(data)