mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-08 14:52:59 -04:00
Properly handle errors for using stealth onion services in the GUI, instead of crashing in the background (#144)
This commit is contained in:
parent
0512e5e84b
commit
5241d756bf
3 changed files with 11 additions and 2 deletions
|
@ -66,9 +66,9 @@ class Options(QtWidgets.QVBoxLayout):
|
|||
When the 'stealth' checkbox is toggled, let the onionshare app know.
|
||||
"""
|
||||
if state == 2:
|
||||
self.app.stealth = True
|
||||
self.app.set_stealth(True)
|
||||
else:
|
||||
self.app.stealth = False
|
||||
self.app.set_stealth(False)
|
||||
|
||||
def set_stealth_enabled(self, enabled):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue