mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-11 16:19:17 +05:00
Add missing preference item
This commit is contained in:
parent
04abbcb307
commit
b7989b4db5
@ -85,6 +85,7 @@
|
||||
<parameter name="dependency_tree_arrow_color" value="0, 0, 130" />
|
||||
<parameter name="dependency_tree_highlight_arrow_color" value="0, 0, 255" />
|
||||
<parameter name="dependency_tree_select_arrow_color" value="255, 0, 0" />
|
||||
<parameter name="auto_bring_to_front" value="false" />
|
||||
|
||||
<!-- Dimension presentation properties -->
|
||||
<parameter name="dimensions_color" value="#ffffff" />
|
||||
|
@ -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
|
||||
|
@ -2020,7 +2020,7 @@ void GeometryGUI::updateCreationInfo()
|
||||
|
||||
void GeometryGUI::onAutoBringToFront()
|
||||
{
|
||||
bool isAutoBringToFront = SUIT_Session::session()->resourceMgr()->booleanValue( "Geometry", "auto_bring_to_front" );
|
||||
bool isAutoBringToFront = SUIT_Session::session()->resourceMgr()->booleanValue( "Geometry", "auto_bring_to_front", "false" );
|
||||
if( !isAutoBringToFront )
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user