forked from qt-creator/qt-creator
PythonEditor: Avoid creation of Custom Executable run configuration
Change-Id: I4bc7ec2893d9a358ef85b984ef6c049de657ace7 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user