From: dmv Date: Wed, 26 Nov 2008 08:22:20 +0000 (+0000) Subject: IPAL20689 Problem with the Mutli-Transformation dialog X-Git-Tag: V5_1_0rc2~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=08c13f79b1c78b51978c873f9f750d4773da26ac;p=modules%2Fgeom.git IPAL20689 Problem with the Mutli-Transformation dialog --- diff --git a/src/BlocksGUI/BlocksGUI_TrsfDlg.cxx b/src/BlocksGUI/BlocksGUI_TrsfDlg.cxx index 053157a95..48eec9f06 100644 --- a/src/BlocksGUI/BlocksGUI_TrsfDlg.cxx +++ b/src/BlocksGUI/BlocksGUI_TrsfDlg.cxx @@ -164,14 +164,17 @@ void BlocksGUI_TrsfDlg::ConstructorsClicked (int constructorId) case 0: myGrp2->hide(); myGrp1->show(); - mySpinBox[SpinBox1]->setValue(2.0); + mySpinBox[SpinBox1]->setValue(2); + mySpinBox[SpinBox1]->setDecimals(0); mySelBtn[MainObj1]->click(); break; case 1: myGrp1->hide(); myGrp2->show(); - mySpinBox[SpinBox2U]->setValue(2.0); - mySpinBox[SpinBox2V]->setValue(2.0); + mySpinBox[SpinBox2U]->setValue(2); + mySpinBox[SpinBox2U]->setDecimals(0); + mySpinBox[SpinBox2V]->setValue(2); + mySpinBox[SpinBox2V]->setDecimals(0); mySelBtn[MainObj2]->click(); break; default: