mirror of
https://github.com/onionshare/onionshare.git
synced 2025-03-14 18:06:30 -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
d5140be046
commit
7a973c83ed
@ -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…
x
Reference in New Issue
Block a user