From 08c13f79b1c78b51978c873f9f750d4773da26ac Mon Sep 17 00:00:00 2001 From: dmv Date: Wed, 26 Nov 2008 08:22:20 +0000 Subject: [PATCH] IPAL20689 Problem with the Mutli-Transformation dialog --- src/BlocksGUI/BlocksGUI_TrsfDlg.cxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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: -- 2.39.2