From 58a96ef78722260156371593bb335c6c14a3f3e4 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Mon, 6 Jul 2020 10:25:16 +1000 Subject: [PATCH] Hide QR code button when server stops. Capitalise Code --- onionshare_gui/tab/server_status.py | 1 + share/locale/en.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/onionshare_gui/tab/server_status.py b/onionshare_gui/tab/server_status.py index 9bfbce78..b5e20765 100644 --- a/onionshare_gui/tab/server_status.py +++ b/onionshare_gui/tab/server_status.py @@ -243,6 +243,7 @@ class ServerStatus(QtWidgets.QWidget): self.url.hide() self.copy_url_button.hide() self.copy_hidservauth_button.hide() + self.show_url_qr_code_button.hide() self.mode_settings_widget.update_ui() diff --git a/share/locale/en.json b/share/locale/en.json index 395d1f90..fa81e4b5 100644 --- a/share/locale/en.json +++ b/share/locale/en.json @@ -29,7 +29,7 @@ "gui_copied_url": "OnionShare address copied to clipboard", "gui_copied_hidservauth_title": "Copied HidServAuth", "gui_copied_hidservauth": "HidServAuth line copied to clipboard", - "gui_show_url_qr_code": "Show QR code", + "gui_show_url_qr_code": "Show QR Code", "gui_qr_code_dialog_title": "OnionShare QR Code", "gui_qr_code_description": "Scan this QR code with a QR reader, such as the camera on your phone, in order to more easily share the OnionShare address with someone.", "gui_waiting_to_start": "Scheduled to start in {}. Click to cancel.",