PythonEditor: Avoid creation of Custom Executable run configuration

Change-Id: I4bc7ec2893d9a358ef85b984ef6c049de657ace7
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
Christian Stenger
2015-09-03 09:18:20 +02:00
parent 1f380798b6
commit afb05103c3

View File

@@ -874,7 +874,7 @@ Project::RestoreResult PythonProject::fromMap(const QVariantMap &map, QString *e
if (res == RestoreResult::Ok) {
Kit *defaultKit = KitManager::defaultKit();
if (!activeTarget() && defaultKit)
addTarget(createTarget(defaultKit));
addTarget(new Target(this, defaultKit));
refresh();