* [TD]add preferences for detail highlight snapping * [TD]fix highlight drag issues * Update src/Mod/TechDraw/Gui/TaskDetail.cpp minor format change from benj5378. Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com> --------- Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
This commit is contained in:
@@ -400,6 +400,13 @@ void DrawViewDetail::postHlrTasks(void)
|
||||
Scale.purgeTouched();
|
||||
detailExec(m_saveShape, m_saveDvp, m_saveDvs);
|
||||
}
|
||||
|
||||
auto* baseView = freecad_cast<DrawViewPart*>(BaseView.getValue());
|
||||
if (!baseView) {
|
||||
throw Base::RuntimeError("Detail has no base view!");
|
||||
}
|
||||
baseView->requestPaint(); // repaint the highlight on the base view.
|
||||
|
||||
overrideKeepUpdated(false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user