Explorar el Código

fix netparse process start

xuqiang hace 4 meses
padre
commit
26e5befaf8
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      src/netparseprocess.cpp

+ 3 - 1
src/netparseprocess.cpp

@@ -80,8 +80,10 @@ void NetParseProcess::restart(const QString &configure)
         if(settings.contains("NETPARSE"))
             start(settings.value("NETPARSE").toString());
         settings.endGroup();
+    } else {
+        start(configure);
     }
-    start(configure);
+    
 }
 
 bool NetParseProcess::isRunning()