[TD]Allow forced redraw of Page
This commit is contained in:
@@ -367,9 +367,11 @@ bool DrawView::keepUpdated(void)
|
||||
bool result = false;
|
||||
|
||||
bool pageUpdate = false;
|
||||
bool force = false;
|
||||
TechDraw::DrawPage *page = findParentPage();
|
||||
if(page) {
|
||||
pageUpdate = page->KeepUpdated.getValue();
|
||||
force = page->forceRedraw();
|
||||
}
|
||||
|
||||
if (DrawPage::GlobalUpdateDrawings() &&
|
||||
@@ -380,6 +382,9 @@ bool DrawView::keepUpdated(void)
|
||||
pageUpdate) {
|
||||
result = true;
|
||||
}
|
||||
if (force) { //when do we turn this off??
|
||||
result = true;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user