mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-25 10:42:58 -03: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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue