summaryrefslogtreecommitdiff
path: root/onionshare_gui/server_status.py
diff options
context:
space:
mode:
Diffstat (limited to 'onionshare_gui/server_status.py')
-rw-r--r--onionshare_gui/server_status.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/onionshare_gui/server_status.py b/onionshare_gui/server_status.py
index 3a6e31cc..dbcc6ca8 100644
--- a/onionshare_gui/server_status.py
+++ b/onionshare_gui/server_status.py
@@ -240,6 +240,9 @@ class ServerStatus(QtWidgets.QWidget):
"""
# Set the URL fields
if self.status == self.STATUS_STARTED:
+ # The backend Onion may have saved new settings, such as the private key.
+ # Reload the settings before saving new ones.
+ self.common.settings.load()
self.show_url()
if self.common.settings.get('save_private_key'):