ensure the timeout checkbox is always shown if the server is stopped and it was not already checked

This commit is contained in:
Miguel Jacq 2017-11-09 11:49:01 +11:00
parent d49e7cf1d1
commit 2dd6c5527d
No known key found for this signature in database
GPG Key ID: EEA4341C6D97A0B6

View File

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