Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ac1375e
)
0020580: EDF 1169 GEOM: float number precision in dialog boxes
V5_1_4_BR
V5_1_4
V5_1_4_patch01
V5_1_4_patch02
V5_1_4_patch03
V5_1_4rc2
V5_1_4rc3
author
vsr
<vsr@opencascade.com>
Fri, 4 Jun 2010 13:56:39 +0000
(13:56 +0000)
committer
vsr
<vsr@opencascade.com>
Fri, 4 Jun 2010 13:56:39 +0000
(13:56 +0000)
Additional fix: change max limit for precision preferences to 14
src/SMESHGUI/SMESHGUI.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI.cxx
b/src/SMESHGUI/SMESHGUI.cxx
index 13f22f8dddaec3529c0fcc48f44125882cce2346..f777acbc420413040cd877418131a2dd4c047eaf 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI.cxx
+++ b/
src/SMESHGUI/SMESHGUI.cxx
@@
-3861,8
+3861,8
@@
void SMESHGUI::createPreferences()
// Set property for precision value for spinboxes
for ( ii = 0; ii < nbQuantities; ii++ ){
- setPreferenceProperty( precs[ii], "min", -1
0
);
- setPreferenceProperty( precs[ii], "max", 1
0
);
+ setPreferenceProperty( precs[ii], "min", -1
4
);
+ setPreferenceProperty( precs[ii], "max", 1
4
);
setPreferenceProperty( precs[ii], "precision", 2 );
}