diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp old mode 100644 new mode 100755 index a23212bb6..06155c619 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1343,7 +1343,7 @@ void MainWindow::on_actionSearch_engine_triggered() { bool res = false; // Check if python is already in PATH - if (misc::pythonVersion()) + if (misc::pythonVersion() > 0) res = true; else res = addPythonPathToEnv();