sketcher: clear selection after failed addExternal geometry to prevent crash

This commit is contained in:
mwganson
2018-10-03 22:08:45 -05:00
committed by wmayer
parent 48ec50db38
commit 2c09277763

View File

@@ -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;