]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Change range of the Width spinbox: [0,5] -> [1,5]
authorrnv <rnv@opencascade.com>
Fri, 17 Feb 2012 11:24:13 +0000 (11:24 +0000)
committerrnv <rnv@opencascade.com>
Fri, 17 Feb 2012 11:24:13 +0000 (11:24 +0000)
src/SMESHGUI/SMESHGUI_Preferences_ColorDlg.cxx

index 543931c3f31917cbde088ecb220c4b00c6c1f352..b1ad47d13f9f0e36c8e9ff9d14adc2f9d59c38a3 100644 (file)
@@ -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 );