forked from qt-creator/qt-creator
Initialize editor in duplicate.
This commit is contained in:
@@ -143,5 +143,6 @@ Core::IEditor *EditorEditable::duplicate(QWidget *parent)
|
|||||||
{
|
{
|
||||||
Editor *newEditor = new Editor(parent);
|
Editor *newEditor = new Editor(parent);
|
||||||
newEditor->duplicateFrom(editor());
|
newEditor->duplicateFrom(editor());
|
||||||
|
GenericEditorPlugin::instance()->initializeEditor(newEditor);
|
||||||
return newEditor->editableInterface();
|
return newEditor->editableInterface();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user