Don't call server_status.stop_server() twice, which prevents overwriting the status message

This commit is contained in:
Micah Lee 2020-12-13 11:10:09 -08:00
parent e092c50b42
commit 6f526e1dea
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -177,8 +177,7 @@ class Mode(QtWidgets.QWidget):
self.status_bar.clearMessage()
if not self.app.autostop_timer_thread.is_alive():
if self.autostop_timer_finished_should_stop_server():
self.server_status.stop_server()
self.autostop_timer_finished_should_stop_server()
def timer_callback_custom(self):
"""