Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / XGUI / XGUI_PropertyPanel.cpp
index 09a6c727ebe6041d521876455d977f1bb13a0e53..5067484718d39a2fc1d9fbea5983ce0f6ca6da17 100644 (file)
@@ -8,8 +8,6 @@
 #include <XGUI_Constants.h>
 #include <XGUI_PropertyPanel.h>
 
-#include <ModuleBase_PropPanelOperation.h>
-
 #include <QWidget>
 #include <QVBoxLayout>
 #include <QFrame>
@@ -76,4 +74,6 @@ void XGUI_PropertyPanel::updateContentWidget(boost::shared_ptr<ModelAPI_Feature>
   foreach(ModuleBase_ModelWidget* eachWidget, myWidgets) {
     eachWidget->restoreValue(theFeature);
   }
+  // the repaint is used here to immediatelly react in GUI to the values change.
+  repaint();
 }