fixes #0003252: External geometry tool keeps hovered item active after leaving
This commit is contained in:
@@ -71,6 +71,9 @@ void DrawSketchHandler::quit(void)
|
||||
sketchgui->drawEdit(std::vector<Base::Vector2d>());
|
||||
resetPositionText();
|
||||
|
||||
Gui::Selection().rmvSelectionGate();
|
||||
Gui::Selection().rmvPreselect();
|
||||
|
||||
unsetCursor();
|
||||
sketchgui->purgeHandler();
|
||||
}
|
||||
|
||||
@@ -5136,6 +5136,7 @@ bool ViewProviderSketch::setEdit(int ModNum)
|
||||
|
||||
// clear the selection (convenience)
|
||||
Gui::Selection().clearSelection();
|
||||
Gui::Selection().rmvPreselect();
|
||||
|
||||
// create the container for the additional edit data
|
||||
assert(!edit);
|
||||
|
||||
Reference in New Issue
Block a user