Don't uncheck the auto-stop timer when the server stops (adding new files before starting the share will otherwise uncheck it)

This commit is contained in:
Miguel Jacq 2017-12-06 10:02:22 +11:00
parent 58ec047a53
commit bddb9596d1
No known key found for this signature in database
GPG Key ID: EEA4341C6D97A0B6

View File

@ -163,7 +163,6 @@ class ServerStatus(QtWidgets.QVBoxLayout):
self.server_button.setText(strings._('gui_start_server', True))
self.server_shutdown_timeout.setEnabled(True)
self.server_shutdown_timeout_checkbox.setEnabled(True)
self.server_shutdown_timeout_checkbox.setCheckState(QtCore.Qt.Unchecked)
elif self.status == self.STATUS_STARTED:
self.server_button.setEnabled(True)
self.server_button.setText(strings._('gui_stop_server', True))