mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-04 23:45:04 -04:00
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:
parent
406515085e
commit
74a799f0c1
5 changed files with 79 additions and 26 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue