Commit df7ec0d4 authored by Christian Stenger's avatar Christian Stenger
Browse files

PythonEditor: Do not create run configuration for project file

Change-Id: I2b4b54f3b7ba12ce293816fc2a69a5813b01756c
Reviewed-by: default avatarhjk <>
parent 5bb4f5b3
......@@ -882,6 +882,9 @@ Project::RestoreResult PythonProject::fromMap(const QVariantMap &map, QString *e
foreach (Target *t, targetList) {
const QList<RunConfiguration *> runConfigs = t->runConfigurations();
foreach (const QString &file, m_files) {
// skip the 'project' file
if (file.endsWith(QLatin1String(".pyqtc")))
const Id id = idFromScript(file);
bool alreadyPresent = false;
foreach (RunConfiguration *runCfg, runConfigs) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment