[TD]fix update suppression logic

This commit is contained in:
Wanderer Fan
2022-03-14 12:02:25 -04:00
committed by WandererFan
parent e7df102e22
commit aa4ba37a6c
5 changed files with 22 additions and 23 deletions

View File

@@ -408,7 +408,7 @@ void ViewProviderPage::finishRestoring()
m_docReady = true;
//control drawing opening on restore based on Preference
//mantis #2967 ph2 - don't even show blank page
if (Preferences::keepPagesUpToDate()) {
if (getDrawPage()->canUpdate()) {
static_cast<void>(showMDIViewPage());
}
Gui::ViewProviderDocumentObject::finishRestoring();