From: rnv Date: Fri, 17 Feb 2012 11:24:13 +0000 (+0000) Subject: Change range of the Width spinbox: [0,5] -> [1,5] X-Git-Tag: V6_5_0a1~124 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=58a5f9cfd1440a25d9a647d79797a1aa232be958;p=modules%2Fsmesh.git Change range of the Width spinbox: [0,5] -> [1,5] --- diff --git a/src/SMESHGUI/SMESHGUI_Preferences_ColorDlg.cxx b/src/SMESHGUI/SMESHGUI_Preferences_ColorDlg.cxx index 543931c3f..b1ad47d13 100644 --- 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 );