mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Fix unsetting autostart timer after reloading settings
This commit is contained in:
parent
2ebc22c5af
commit
dae3e23652
@ -321,6 +321,8 @@ class OnionShareGui(QtWidgets.QMainWindow):
|
||||
self.receive_mode.server_status.shutdown_timeout_container.hide()
|
||||
# If we switched off the startup timer setting, ensure the widget is hidden.
|
||||
if not self.common.settings.get('startup_timer'):
|
||||
self.share_mode.server_status.scheduled_start = None
|
||||
self.receive_mode.server_status.scheduled_start = None
|
||||
self.share_mode.server_status.startup_timer_container.hide()
|
||||
self.receive_mode.server_status.startup_timer_container.hide()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user