diff --git a/RedPandaIDE/editor.cpp b/RedPandaIDE/editor.cpp index de27666e..497b6006 100644 --- a/RedPandaIDE/editor.cpp +++ b/RedPandaIDE/editor.cpp @@ -83,6 +83,7 @@ Editor::Editor(QWidget *parent, const QString& filename, } QFileInfo fileInfo(mFilename); if (mParentPageControl!=nullptr) { + mParentPageControl->addTab(this,""); updateCaption(); }