]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Update viewer on close just started sketcher
authorvsv <vitaly.smetannikov@opencascade.com>
Sat, 26 Dec 2015 15:58:07 +0000 (18:58 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Sat, 26 Dec 2015 15:58:07 +0000 (18:58 +0300)
src/PartSet/PartSet_WidgetSketchLabel.cpp

index 846ea999912627927bcb51f7f773e210c490991d..a9496370befd642c1546bc5f83205f52c47536e5 100644 (file)
@@ -338,10 +338,13 @@ void PartSet_WidgetSketchLabel::activateCustom()
 void PartSet_WidgetSketchLabel::deactivate()
 {
   ModuleBase_ModelWidget::deactivate();
+  bool aHidePreview = myPreviewDisplayed;
   erasePreviewPlanes();
   activateSelection(false);
 
   activateFilters(false);
+  if (aHidePreview)
+    myWorkshop->viewer()->update();
 }
 
 void PartSet_WidgetSketchLabel::activateSelection(bool toActivate)