From 6f953baee65283e5d5f5d37a9ec9585a7ee76a3a Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Wed, 9 Oct 2024 12:47:18 +0200 Subject: [PATCH] Python: Fix accidentally inverted condition Amends 79774519ccaa19fbee58c8a191281f286eb83be2. Change-Id: Iba8c1f4d7d2f11e262aafd6b5f0564550484fb6b Reviewed-by: David Schulz --- src/plugins/python/pythonsettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/python/pythonsettings.cpp b/src/plugins/python/pythonsettings.cpp index ab8650be0b3..5717ae540bd 100644 --- a/src/plugins/python/pythonsettings.cpp +++ b/src/plugins/python/pythonsettings.cpp @@ -816,7 +816,7 @@ void PythonSettings::removeKitsForInterpreter(const Interpreter &interpreter) bool PythonSettings::interpreterIsValid(const Interpreter &interpreter) { - return !interpreter.command.needsDevice() || interpreter.command.isExecutableFile(); + return interpreter.command.needsDevice() || interpreter.command.isExecutableFile(); } void PythonSettings::setInterpreter(const QList &interpreters, const QString &defaultId)