X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_WidgetSketchLabel.cpp;h=44656f2ab1bc5c77211c40a74115f53515057d03;hb=857b1f72d9703c46c6c8c9bb239821d314344c86;hp=57cca495af866d541e1ef4c8f8755d652a06c901;hpb=d2caa0b6b754adbb59d2c8c1bd1db7a4327c1ffc;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_WidgetSketchLabel.cpp b/src/PartSet/PartSet_WidgetSketchLabel.cpp index 57cca495a..44656f2ab 100644 --- a/src/PartSet/PartSet_WidgetSketchLabel.cpp +++ b/src/PartSet/PartSet_WidgetSketchLabel.cpp @@ -115,8 +115,10 @@ void PartSet_WidgetSketchLabel::onSelectionChanged() ModuleBase_ViewerPrs aPrs = aSelected.first(); bool aDone = ModuleBase_WidgetValidated::setSelection(aSelected, false); - if (aDone) + if (aDone) { updateByPlaneSelected(aPrs); + updateObject(myFeature); + } } void PartSet_WidgetSketchLabel::updateByPlaneSelected(const ModuleBase_ViewerPrs& thePrs)