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
(parent:
1c56b09
)
Change range of the Width spinbox: [0,5] -> [1,5]
author
rnv
<rnv@opencascade.com>
Fri, 17 Feb 2012 11:24:13 +0000
(11:24 +0000)
committer
rnv
<rnv@opencascade.com>
Fri, 17 Feb 2012 11:24:13 +0000
(11:24 +0000)
src/SMESHGUI/SMESHGUI_Preferences_ColorDlg.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_Preferences_ColorDlg.cxx
b/src/SMESHGUI/SMESHGUI_Preferences_ColorDlg.cxx
index 543931c3f31917cbde088ecb220c4b00c6c1f352..b1ad47d13f9f0e36c8e9ff9d14adc2f9d59c38a3 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_Preferences_ColorDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_Preferences_ColorDlg.cxx
@@
-105,7
+105,7
@@
SMESHGUI_Preferences_ColorDlg::SMESHGUI_Preferences_ColorDlg( SMESHGUI* theModul
QLabel* TextLabel_Width = new QLabel( tr( "Width" ), ButtonGroup1 );
SpinBox_Width = new SalomeApp_IntSpinBox( ButtonGroup1 );
SpinBox_Width->setAcceptNames( false ); // No Notebook variables allowed
- SpinBox_Width->setRange(
0
, 5 );
+ SpinBox_Width->setRange(
1
, 5 );
SpinBox_Width->setSingleStep( 1 );
SpinBox_Width->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed ) );
SpinBox_Width->setButtonSymbols( QSpinBox::PlusMinus );