mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-24 19:12:04 +05:00
Update spin-boxes step (in active dialogs) on change of corresponding preference.
This commit is contained in:
parent
d8af99d938
commit
54704f7e7b
@ -1694,6 +1694,13 @@ void GeometryGUI::createPreferences()
|
|||||||
|
|
||||||
void GeometryGUI::preferencesChanged( const QString& section, const QString& param )
|
void GeometryGUI::preferencesChanged( const QString& section, const QString& param )
|
||||||
{
|
{
|
||||||
|
if (section == "Geometry") {
|
||||||
|
SUIT_ResourceMgr* aResourceMgr = SUIT_Session::session()->resourceMgr();
|
||||||
|
if (param == QString("SettingsGeomStep")) {
|
||||||
|
double spin_step = aResourceMgr->doubleValue(section, param, 100.);
|
||||||
|
EmitSignalDefaultStepValueChanged(spin_step);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
LightApp_Displayer* GeometryGUI::displayer()
|
LightApp_Displayer* GeometryGUI::displayer()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user