[TD]fix parenting in Tree

This commit is contained in:
wandererfan
2020-01-15 09:05:58 -05:00
committed by WandererFan
parent e290e9c4c9
commit 8b2e318f15
2 changed files with 16 additions and 0 deletions

View File

@@ -304,6 +304,14 @@ void TaskLeaderLine::createLeaderFeature(std::vector<Base::Vector3d> converted)
Gui::Command::updateActive();
Gui::Command::commitCommand();
//trigger claimChildren in tree
if (m_baseFeat != nullptr) {
m_baseFeat->touch();
}
if (m_basePage != nullptr) {
m_basePage->touch();
}
m_lineFeat->requestPaint();
}