Mesure: Ignore ValueError exceptions in quick measure
This commit is contained in:
committed by
Adrián Insaurralde Avalos
parent
387a6da814
commit
792cee1801
@@ -66,6 +66,10 @@ void QuickMeasure::onSelectionChanged(const Gui::SelectionChanges& msg)
|
||||
// ignore this exception because it can be caused by trying to access a non-existing
|
||||
// sub-element e.g. when selecting a construction geometry in sketcher
|
||||
}
|
||||
catch (const Base::ValueError&) {
|
||||
// ignore this exception because it can be caused by trying to access a non-existing
|
||||
// sub-element e.g. when selecting a constraint in sketcher
|
||||
}
|
||||
catch (const Base::Exception& e) {
|
||||
e.ReportException();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user