Commit 07b8b7de authored by Eike Ziller's avatar Eike Ziller
Browse files

Fix splitting generic project file editor



Change-Id: If8e1e78d1895584bb03eb394f072d8c782a171b6
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent f9ce335a
...@@ -95,6 +95,7 @@ Core::IEditor *ProjectFilesEditor::duplicate() ...@@ -95,6 +95,7 @@ Core::IEditor *ProjectFilesEditor::duplicate()
{ {
ProjectFilesEditorWidget *parentEditor = qobject_cast<ProjectFilesEditorWidget *>(editorWidget()); ProjectFilesEditorWidget *parentEditor = qobject_cast<ProjectFilesEditorWidget *>(editorWidget());
ProjectFilesEditorWidget *editor = new ProjectFilesEditorWidget(parentEditor->factory()); ProjectFilesEditorWidget *editor = new ProjectFilesEditorWidget(parentEditor->factory());
editor->duplicateFrom(parentEditor);
TextEditorSettings::initializeEditor(editor); TextEditorSettings::initializeEditor(editor);
return editor->editor(); return editor->editor();
} }
......
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