Work in progress commit, moving the timer_callback logic from ShareMode into Mode so ReceiveMode can use it as well

This commit is contained in:
Micah Lee 2018-04-28 12:03:10 -07:00
parent 406515085e
commit 74a799f0c1
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
5 changed files with 79 additions and 26 deletions

View file

@ -211,7 +211,7 @@ class ServerStatus(QtWidgets.QWidget):
if self.mode == ServerStatus.MODE_SHARE:
self.server_button.setText(strings._('gui_share_stop_server', True))
else:
self.server_button.setText(strings._('gui_share_stop_server', True))
self.server_button.setText(strings._('gui_receive_stop_server', True))
if self.common.settings.get('shutdown_timeout'):
self.shutdown_timeout_container.hide()
if self.mode == ServerStatus.MODE_SHARE: