From 44655bcca2421e75cc8fff1e555c7efb747fce18 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Tue, 12 Jul 2022 15:33:28 +0200 Subject: [PATCH] qt qrtextedit: also show icon in ShowQRTextEdit.contextMenu follow-up https://github.com/spesmilo/electrum/commit/955986d024155e6c00a82e187a94b46d1507e66a --- electrum/gui/qt/qrtextedit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/gui/qt/qrtextedit.py b/electrum/gui/qt/qrtextedit.py index 4ed71c889..45ec66eff 100644 --- a/electrum/gui/qt/qrtextedit.py +++ b/electrum/gui/qt/qrtextedit.py @@ -19,7 +19,7 @@ class ShowQRTextEdit(ButtonsTextEdit): def contextMenuEvent(self, e): m = self.createStandardContextMenu() - m.addAction(_("Show as QR code"), self.on_qr_show_btn) + m.addAction(read_QIcon(get_iconname_qrcode()), _("Show as QR code"), self.on_qr_show_btn) m.exec_(e.globalPos())