mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-05 17:35:35 -05:00
ensure the shutdown timeout can't go backwards in time
This commit is contained in:
parent
481f33c822
commit
9657df282e
@ -52,6 +52,7 @@ class ServerStatus(QtWidgets.QVBoxLayout):
|
||||
self.server_shutdown_timeout_label = QtWidgets.QLabel(strings._('gui_settings_shutdown_timeout', True))
|
||||
self.server_shutdown_timeout = QtWidgets.QDateTimeEdit()
|
||||
self.server_shutdown_timeout.setDateTime(QtCore.QDateTime.currentDateTime())
|
||||
self.server_shutdown_timeout.setMinimumDateTime(QtCore.QDateTime.currentDateTime())
|
||||
self.server_shutdown_timeout.setCurrentSectionIndex(4)
|
||||
self.server_shutdown_timeout_label.hide()
|
||||
self.server_shutdown_timeout.hide()
|
||||
|
Loading…
x
Reference in New Issue
Block a user