From 05697e51b83282519499a1aa6a17425ce22a2cee Mon Sep 17 00:00:00 2001 From: Calin Culianu Date: Fri, 29 Mar 2019 10:11:26 +0100 Subject: [PATCH] Trezor: Minor nit in settings screen. Image size was shown as H x W (from Electron-Cash/Electron-Cash@e0e7ff218dcabff4ce87ca7f61146b791a7cf62b) --- electrum/plugins/safe_t/qt.py | 4 ++-- electrum/plugins/trezor/qt.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/electrum/plugins/safe_t/qt.py b/electrum/plugins/safe_t/qt.py index 6531f5496..ae5aa2b74 100644 --- a/electrum/plugins/safe_t/qt.py +++ b/electrum/plugins/safe_t/qt.py @@ -199,7 +199,7 @@ class SettingsDialog(WindowModalDialog): config = devmgr.config handler = keystore.handler thread = keystore.thread - hs_rows, hs_cols = (64, 128) + hs_cols, hs_rows = (128, 64) def invoke_client(method, *args, **kw_args): unpair_after = kw_args.pop('unpair_after', False) @@ -410,7 +410,7 @@ class SettingsDialog(WindowModalDialog): homescreen_msg = QLabel(_("You can set the homescreen on your " "device to personalize it. You must " "choose a {} x {} monochrome black and " - "white image.").format(hs_rows, hs_cols)) + "white image.").format(hs_cols, hs_rows)) homescreen_msg.setWordWrap(True) settings_glayout.addWidget(homescreen_label, 4, 0) settings_glayout.addWidget(homescreen_change_button, 4, 1) diff --git a/electrum/plugins/trezor/qt.py b/electrum/plugins/trezor/qt.py index 2e30771a4..281e3f56d 100644 --- a/electrum/plugins/trezor/qt.py +++ b/electrum/plugins/trezor/qt.py @@ -326,7 +326,7 @@ class SettingsDialog(WindowModalDialog): config = devmgr.config handler = keystore.handler thread = keystore.thread - hs_rows, hs_cols = (64, 128) + hs_cols, hs_rows = (128, 64) def invoke_client(method, *args, **kw_args): unpair_after = kw_args.pop('unpair_after', False) @@ -537,7 +537,7 @@ class SettingsDialog(WindowModalDialog): homescreen_msg = QLabel(_("You can set the homescreen on your " "device to personalize it. You must " "choose a {} x {} monochrome black and " - "white image.").format(hs_rows, hs_cols)) + "white image.").format(hs_cols, hs_rows)) homescreen_msg.setWordWrap(True) settings_glayout.addWidget(homescreen_label, 4, 0) settings_glayout.addWidget(homescreen_change_button, 4, 1)