[TD] Make DrawViewSpreadSheet respect DrawPage::redrawCommand() update mechanism.

This commit is contained in:
Aapo
2020-11-20 22:12:02 +02:00
parent 6803af4dc4
commit 72d003f102
2 changed files with 10 additions and 0 deletions

View File

@@ -372,6 +372,15 @@ void DrawPage::updateAllViews()
line->recomputeFeature();
}
}
//fourth, try to execute all spreadsheets.
for (it = featViews.begin(); it != featViews.end(); ++it) {
TechDraw::DrawViewSpreadsheet *sheet = dynamic_cast<TechDraw::DrawViewSpreadsheet *>(*it);
if (sheet != nullptr) {
sheet->recomputeFeature();
}
}
}
std::vector<App::DocumentObject*> DrawPage::getAllViews(void)