forked from qt-creator/qt-creator
Python: Fix accidentally inverted condition
Amends 79774519cc
.
Change-Id: Iba8c1f4d7d2f11e262aafd6b5f0564550484fb6b
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -816,7 +816,7 @@ void PythonSettings::removeKitsForInterpreter(const Interpreter &interpreter)
|
|||||||
|
|
||||||
bool PythonSettings::interpreterIsValid(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<Interpreter> &interpreters, const QString &defaultId)
|
void PythonSettings::setInterpreter(const QList<Interpreter> &interpreters, const QString &defaultId)
|
||||||
|
Reference in New Issue
Block a user