mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-29 05:20:34 +05:00
IPAL20694 Qt4 porting: Precision is not taken into account at controls representation
This commit is contained in:
parent
ccde869e07
commit
7cb0d55022
@ -3339,12 +3339,7 @@ void SMESHGUI::createPreferences()
|
||||
setPreferenceProperty( qaGroup, "columns", 2 );
|
||||
addPreference( tr( "PREF_DISPLAY_ENTITY" ), qaGroup, LightApp_Preferences::Bool, "SMESH", "display_entity" );
|
||||
addPreference( tr( "PREF_PRECISION_USE" ), qaGroup, LightApp_Preferences::Bool, "SMESH", "use_precision" );
|
||||
|
||||
int precGroup = addPreference( tr( "PREF_GROUP_PRECISION" ), genTab );
|
||||
setPreferenceProperty( precGroup, "columns", 2 );
|
||||
|
||||
int prec = addPreference( tr( "PREF_PRECISION_VALUE" ), precGroup, LightApp_Preferences::IntSpin, "SMESH", "controls_precision" );
|
||||
|
||||
int prec = addPreference( tr( "PREF_PRECISION_VALUE" ), qaGroup, LightApp_Preferences::IntSpin, "SMESH", "controls_precision" );
|
||||
setPreferenceProperty( prec, "min", 0 );
|
||||
setPreferenceProperty( prec, "max", 16 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user