From: asl Date: Fri, 7 Oct 2005 06:44:04 +0000 (+0000) Subject: PAL9881 - changing of selection of hilight preferences must occur immediate effect... X-Git-Tag: ForTest_3_1_0a2~19 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6cbd23c4f48e096c74dae22231adf2bc9b0021a0;p=modules%2Fsmesh.git PAL9881 - changing of selection of hilight preferences must occur immediate effect in VTK viewer --- diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index 1201d25b9..bd5b5c239 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -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 ); } //================================================================================