Salome HOME
Merge branch 'Dev_0.6.1' of newgeom:newgeom into Dev_0.6.1
[modules/shaper.git] / src / PartSet / PartSet_WidgetSketchLabel.cpp
index eeb38baaab46c3e49126cefcc72a37e82af383ec..9fff4686996f5bad134648b16a32382df9218baf 100644 (file)
@@ -36,6 +36,7 @@
 
 #include <QLabel>
 #include <QTimer>
+#include <QApplication>
 
 #define PLANE_SIZE          "200"     
 #define SKETCH_WIDTH        "4"
@@ -117,6 +118,7 @@ void PartSet_WidgetSketchLabel::onPlaneSelected()
         // Update sketcher actions
         XGUI_ActionsMgr* anActMgr = myWorkshop->actionsMgr();
         anActMgr->update();
+        myWorkshop->viewer()->update();
       }
     }
   }