summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaptak Sengupta <saptak013@gmail.com>2020-12-14 01:01:48 +0530
committerGitHub <noreply@github.com>2020-12-14 01:01:48 +0530
commita520057bf4bd0956f03b763bfacdb8145cb5f977 (patch)
treeb269354403242f77c7588c481c23d80ca8d05a2a
parente092c50b4200478a71a796ab4ca9167a6000c150 (diff)
parent6f526e1dea4e6919da5a9b81d05feda56dd6ba20 (diff)
downloadonionshare-a520057bf4bd0956f03b763bfacdb8145cb5f977.tar.gz
onionshare-a520057bf4bd0956f03b763bfacdb8145cb5f977.zip
Merge pull request #1245 from micahflee/1183_display_autostop_message
"Stopped because auto-stop timer ran out" string should get displayed
-rw-r--r--desktop/src/onionshare/tab/mode/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/src/onionshare/tab/mode/__init__.py b/desktop/src/onionshare/tab/mode/__init__.py
index f92632f0..7b325704 100644
--- a/desktop/src/onionshare/tab/mode/__init__.py
+++ b/desktop/src/onionshare/tab/mode/__init__.py
@@ -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):
"""