[TD]Add parameters to control drawing update

This commit is contained in:
wandererfan
2019-08-29 07:11:39 -04:00
committed by WandererFan
parent 22d88888d0
commit 2c2c851cc3
6 changed files with 129 additions and 30 deletions

View File

@@ -259,8 +259,8 @@ bool ViewProviderPage::showMDIViewPage()
Gui::getMainWindow()->addWindow(m_mdiView);
m_mdiView->viewAll(); //this is empty function
m_mdiView->showMaximized();
if(!getDrawPage()->KeepUpdated.getValue())
getDrawPage()->KeepUpdated.setValue(true);
// if(!getDrawPage()->KeepUpdated.getValue())
// getDrawPage()->KeepUpdated.setValue(true);
} else {
m_mdiView->updateDrawing(true);
m_mdiView->redrawAllViews();