Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for the issue #910: never fully remove the results, just make them disabled when...
[modules/shaper.git]
/
src
/
PartSet
/
PartSet_WidgetSketchLabel.cpp
diff --git
a/src/PartSet/PartSet_WidgetSketchLabel.cpp
b/src/PartSet/PartSet_WidgetSketchLabel.cpp
index f3d4179c3baa189cd031257265635720fa9661f6..44656f2ab1bc5c77211c40a74115f53515057d03 100644
(file)
--- a/
src/PartSet/PartSet_WidgetSketchLabel.cpp
+++ b/
src/PartSet/PartSet_WidgetSketchLabel.cpp
@@
-80,7
+80,6
@@
PartSet_WidgetSketchLabel::PartSet_WidgetSketchLabel(QWidget* theParent,
PartSet_WidgetSketchLabel::~PartSet_WidgetSketchLabel()
{
PartSet_WidgetSketchLabel::~PartSet_WidgetSketchLabel()
{
- erasePreviewPlanes();
}
bool PartSet_WidgetSketchLabel::setSelection(QList<ModuleBase_ViewerPrs>& theValues,
}
bool PartSet_WidgetSketchLabel::setSelection(QList<ModuleBase_ViewerPrs>& theValues,
@@
-116,8
+115,10
@@
void PartSet_WidgetSketchLabel::onSelectionChanged()
ModuleBase_ViewerPrs aPrs = aSelected.first();
bool aDone = ModuleBase_WidgetValidated::setSelection(aSelected, false);
ModuleBase_ViewerPrs aPrs = aSelected.first();
bool aDone = ModuleBase_WidgetValidated::setSelection(aSelected, false);
- if (aDone)
+ if (aDone)
{
updateByPlaneSelected(aPrs);
updateByPlaneSelected(aPrs);
+ updateObject(myFeature);
+ }
}
void PartSet_WidgetSketchLabel::updateByPlaneSelected(const ModuleBase_ViewerPrs& thePrs)
}
void PartSet_WidgetSketchLabel::updateByPlaneSelected(const ModuleBase_ViewerPrs& thePrs)