mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-30 09:46:15 -05:00
This should be an elif, not an if, because otherwise the share mode stop button says "Stop Receive Mode"
This commit is contained in:
parent
7fe733e9fc
commit
29abfd8f87
@ -285,7 +285,7 @@ class ServerStatus(QtWidgets.QWidget):
|
|||||||
self.server_button.setEnabled(True)
|
self.server_button.setEnabled(True)
|
||||||
if self.mode == ServerStatus.MODE_SHARE:
|
if self.mode == ServerStatus.MODE_SHARE:
|
||||||
self.server_button.setText(strings._('gui_share_stop_server'))
|
self.server_button.setText(strings._('gui_share_stop_server'))
|
||||||
if self.mode == ServerStatus.MODE_WEBSITE:
|
elif self.mode == ServerStatus.MODE_WEBSITE:
|
||||||
self.server_button.setText(strings._('gui_share_stop_server'))
|
self.server_button.setText(strings._('gui_share_stop_server'))
|
||||||
else:
|
else:
|
||||||
self.server_button.setText(strings._('gui_receive_stop_server'))
|
self.server_button.setText(strings._('gui_receive_stop_server'))
|
||||||
|
Loading…
Reference in New Issue
Block a user