forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.14'
Change-Id: Iea84f23cf394de13e99a9ed777c8c113e4eff473
This commit is contained in:
@@ -197,7 +197,7 @@ static FilePath detectPython(const FilePath &documentPath)
|
||||
python = PythonSettings::defaultInterpreter().command;
|
||||
|
||||
if (!python.exists() && !PythonSettings::interpreters().isEmpty())
|
||||
python = PythonSettings::interpreters().first().command;
|
||||
python = PythonSettings::interpreters().constFirst().command;
|
||||
|
||||
return python;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user