diff options
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditorplugin.cpp')
| -rw-r--r-- | src/plugins/pythoneditor/pythoneditorplugin.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/plugins/pythoneditor/pythoneditorplugin.cpp b/src/plugins/pythoneditor/pythoneditorplugin.cpp index b81f02eca5..188ca479c5 100644 --- a/src/plugins/pythoneditor/pythoneditorplugin.cpp +++ b/src/plugins/pythoneditor/pythoneditorplugin.cpp @@ -278,6 +278,7 @@ public: PythonRunConfigurationFactory() { setObjectName("PythonRunConfigurationFactory"); + registerRunConfiguration<PythonRunConfiguration>(); } QList<Core::Id> availableCreationIds(Target *parent, CreationMode mode) const override @@ -323,13 +324,6 @@ public: return source->id().name().startsWith(PythonRunConfigurationPrefix); } - RunConfiguration *clone(Target *parent, RunConfiguration *source) override - { - if (!canClone(parent, source)) - return 0; - return cloneHelper<PythonRunConfiguration>(parent, source); - } - private: bool canHandle(Target *parent) const { return dynamic_cast<PythonProject *>(parent->project()); } |
