mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-28 08:49:30 -05:00
Remove unnecessary status_bar.showMessage
status_bar.showMessage is already called with the same message at the beginning of start_server, so there is no reason to call it again in the try block.
This commit is contained in:
parent
41a30dd4e4
commit
a54443084c
@ -147,7 +147,6 @@ class OnionShareGui(QtGui.QWidget):
|
||||
self.status_bar.showMessage(strings._('gui_starting_server1', True))
|
||||
self.app.choose_port()
|
||||
try:
|
||||
self.status_bar.showMessage(strings._('gui_starting_server1', True))
|
||||
self.app.start_hidden_service(gui=True)
|
||||
except onionshare.hs.NoTor as e:
|
||||
alert(e.args[0], QtGui.QMessageBox.Warning)
|
||||
|
Loading…
Reference in New Issue
Block a user