forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.13' into master
Conflicts: src/plugins/qmakeprojectmanager/qmakeproject.cpp Change-Id: Ieb1c3e946f11d3c4fa1ee6b5afdf83cc532d8aed
This commit is contained in:
@@ -281,6 +281,7 @@ PythonRunConfiguration::PythonRunConfiguration(Target *target, Utils::Id id)
|
||||
const QString script = bti.targetFilePath.toUserOutput();
|
||||
setDefaultDisplayName(tr("Run %1").arg(script));
|
||||
scriptAspect->setValue(script);
|
||||
aspect<WorkingDirectoryAspect>()->setDefaultWorkingDirectory(bti.targetFilePath.parentDir());
|
||||
});
|
||||
|
||||
connect(target, &Target::buildSystemUpdated, this, &RunConfiguration::update);
|
||||
@@ -298,9 +299,6 @@ void PythonRunConfiguration::updateLanguageServer()
|
||||
PyLSConfigureAssistant::instance()->openDocumentWithPython(python, document);
|
||||
}
|
||||
}
|
||||
|
||||
aspect<WorkingDirectoryAspect>()->setDefaultWorkingDirectory(
|
||||
Utils::FilePath::fromString(mainScript()).parentDir());
|
||||
}
|
||||
|
||||
bool PythonRunConfiguration::supportsDebugger() const
|
||||
|
||||
Reference in New Issue
Block a user