mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
set the 'Save Private Key' button to enabled when showing it, but when it's not already been pressed (in case private key is removed later via SettingsDialog)
This commit is contained in:
parent
bec03bb10e
commit
8e89a65a22
@ -148,6 +148,7 @@ class ServerStatus(QtWidgets.QVBoxLayout):
|
||||
self.copy_url_button.show()
|
||||
if not self.settings.get('private_key'):
|
||||
self.save_private_key_button.show()
|
||||
self.save_private_key_button.setEnabled(True)
|
||||
|
||||
if self.app.stealth:
|
||||
self.copy_hidservauth_button.show()
|
||||
|
Loading…
Reference in New Issue
Block a user