sketcher: clear selection after failed addExternal geometry to prevent crash
This commit is contained in:
@@ -6597,6 +6597,7 @@ public:
|
||||
}
|
||||
catch (const Base::Exception& e) {
|
||||
Base::Console().Error("Failed to add external geometry: %s\n", e.what());
|
||||
Gui::Selection().clearSelection();
|
||||
Gui::Command::abortCommand();
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user