fix: new editor not correctly add to the editorlist
This commit is contained in:
parent
5c9ef2035e
commit
4eec5cafb8
|
@ -83,6 +83,7 @@ Editor::Editor(QWidget *parent, const QString& filename,
|
|||
}
|
||||
QFileInfo fileInfo(mFilename);
|
||||
if (mParentPageControl!=nullptr) {
|
||||
mParentPageControl->addTab(this,"");
|
||||
updateCaption();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue