mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-13 18:20:35 +05:00
Preparation of v.3.0.1
This commit is contained in:
parent
6ebb62e289
commit
f24ba2bafa
@ -91,7 +91,7 @@ void GEOMToolsGUI::OnSettingsColor()
|
||||
SUIT_ResourceMgr* resMgr = sess->resourceMgr();
|
||||
SUIT_Desktop* desk = sess->activeApplication()->desktop();
|
||||
|
||||
QColor anInitColor = resMgr->colorValue( "Geometry:SettingsShadingColor", QColor( "yellow" ) );
|
||||
QColor anInitColor = resMgr->colorValue( "Geometry", "SettingsShadingColor", QColor( "yellow" ) );
|
||||
|
||||
QColor aDialogColor = QColorDialog::getColor(anInitColor, desk );
|
||||
if( aDialogColor.isValid() )
|
||||
@ -100,7 +100,7 @@ void GEOMToolsGUI::OnSettingsColor()
|
||||
if( type != OCCViewer_Viewer::Type() && type != VTKViewer_Viewer::Type() )
|
||||
MESSAGE("Settings Color is not supported for current Viewer");
|
||||
|
||||
resMgr->setValue( "Geometry:SettingsShadingColor", aDialogColor );
|
||||
resMgr->setValue( "Geometry", "SettingsShadingColor", aDialogColor );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user