aboutsummaryrefslogtreecommitdiffstats
path: root/Widgets/ICPage.py
diff options
context:
space:
mode:
Diffstat (limited to 'Widgets/ICPage.py')
-rw-r--r--Widgets/ICPage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Widgets/ICPage.py b/Widgets/ICPage.py
index 8681d61..859f3e7 100644
--- a/Widgets/ICPage.py
+++ b/Widgets/ICPage.py
@@ -384,7 +384,8 @@ class VehicleSimulator(QObject):
if not self.running:
self.reset()
self.running = True
- self.thread.start()
+ if not self.thread.is_alive():
+ self.thread.start()
def stop(self):
self.running = False