From b47fba49cce0a15711482f5ce520d1ed4e65c7be 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 5b27d5a1a..61602fa85 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1331,7 +1331,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();