[TD] Make DrawViewSpreadSheet respect DrawPage::redrawCommand() update mechanism.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
#include <App/PropertyStandard.h>
|
||||
#include <App/PropertyFile.h>
|
||||
#include <Mod/TechDraw/App/DrawViewPart.h>
|
||||
#include <Mod/TechDraw/App/DrawViewSpreadsheet.h>
|
||||
|
||||
namespace TechDraw
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user