Salome HOME
PAL9881 - changing of selection of hilight preferences must occur immediate effect...
authorasl <asl@opencascade.com>
Fri, 7 Oct 2005 06:44:04 +0000 (06:44 +0000)
committerasl <asl@opencascade.com>
Fri, 7 Oct 2005 06:44:04 +0000 (06:44 +0000)
src/SMESHGUI/SMESHGUI.cxx

index 1201d25..bd5b5c2 100644 (file)
@@ -3010,6 +3010,11 @@ void SMESHGUI::createPreferences()
 
 void SMESHGUI::preferencesChanged( const QString& sect, const QString& name )
 {
+  if( sect=="SMESH" )
+    if( name=="selection_object_color" || name=="selection_element_color" || 
+        name=="selection_width" || name=="highlight_color" || name=="highlight_width" ||
+        name=="selection_precision_node" || name=="selection_precision_element" )
+      SMESH::UpdateSelectionProp( this );
 }
 
 //================================================================================