summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/process_detector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'facetracknoir/process_detector.cpp')
-rw-r--r--facetracknoir/process_detector.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/facetracknoir/process_detector.cpp b/facetracknoir/process_detector.cpp
index a947ab19..902ab2ec 100644
--- a/facetracknoir/process_detector.cpp
+++ b/facetracknoir/process_detector.cpp
@@ -213,6 +213,8 @@ bool process_detector_worker::config_to_start(QString& str)
// don't automatically start again while the same process is running.
if (last_exe_name != "" && exe_list.contains(last_exe_name))
return false;
+ // it's gone, we can start automatically again
+ last_exe_name = "";
for (auto& name : exe_list)
{