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 abec0b037b
commit daafd53446

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)