[TD]fix fail on undo of cosmetic delete

This commit is contained in:
wandererfan
2024-03-25 21:51:47 -04:00
committed by WandererFan
parent 394ed4a38f
commit f530f1a5c8
11 changed files with 107 additions and 17 deletions

View File

@@ -340,6 +340,7 @@ void ViewProviderPage::createMDIViewPage()
m_mdiView->setWindowIcon(Gui::BitmapFactory().pixmap("TechDraw_TreePage"));
Gui::getMainWindow()->addWindow(m_mdiView);
Gui::getMainWindow()->setActiveWindow(m_mdiView);
m_graphicsView->setFocus();
}
//NOTE: removing MDIViewPage (parent) destroys QGVPage (eventually)