From 6cbd23c4f48e096c74dae22231adf2bc9b0021a0 Mon Sep 17 00:00:00 2001 From: asl Date: Fri, 7 Oct 2005 06:44:04 +0000 Subject: [PATCH] PAL9881 - changing of selection of hilight preferences must occur immediate effect in VTK viewer --- src/SMESHGUI/SMESHGUI.cxx | 5 +++++ 1 file changed, 5 insertions(+) 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 ); } //================================================================================ -- 2.39.2