Salome HOME
Add missing preference item
[modules/geom.git] / src / GEOMGUI / GEOMGUI_Selection.cxx
index 583a730789d52ebb572eac19e342fa8f79f0577b..014c622c29797de5d7d80fc036c37bd0e0f9abd2 100644 (file)
@@ -380,7 +380,7 @@ QString GEOMGUI_Selection::displayMode( const int index ) const
 
 bool GEOMGUI_Selection::autoBringToFront( const int /*index*/ ) const
 {
-  return SUIT_Session::session()->resourceMgr()->booleanValue( "Geometry", "auto_bring_to_front" );
+  return SUIT_Session::session()->resourceMgr()->booleanValue( "Geometry", "auto_bring_to_front", "false" );
 }
 
 bool GEOMGUI_Selection::isVectorsMode( const int index ) const