Save the HidServAuth string to settings when private key is also saved. Allow to copy it to clipboard from the SettingsDialog too.

This commit is contained in:
Miguel Jacq 2017-12-09 06:49:34 +11:00
parent bd5ee8b082
commit 08c2e106f8
No known key found for this signature in database
GPG key ID: EEA4341C6D97A0B6
4 changed files with 56 additions and 7 deletions

View file

@ -265,6 +265,9 @@ class ServerStatus(QtWidgets.QVBoxLayout):
"""
self.save_private_key_button.setEnabled(False)
self.settings.set('private_key', self.app.private_key)
if self.app.stealth:
self.settings.set('hidservauth_string', self.app.auth_string)
self.settings.save()
self.settings.load()
self.private_key_saved.emit()