From 67355810aeed538723a63a81ce5cd4ebae79c87f Mon Sep 17 00:00:00 2001 From: paolo-sz Date: Mon, 22 Sep 2014 16:14:29 +0200 Subject: [PATCH] Correctly detect python in PATH --- src/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 src/mainwindow.cpp 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();