From: enk Date: Mon, 12 Mar 2007 07:09:45 +0000 (+0000) Subject: Fix for Bug Bug IPAL14175: X-Git-Tag: V3_2_6pre2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7c8270cfc09e6aeaf473312d1849059f86ad7450;p=modules%2Fvisu.git Fix for Bug Bug IPAL14175: Problem of clipping plane location after switching between Not structured / Structured tabs --- diff --git a/src/VISUGUI/VisuGUI_ClippingDlg.cxx b/src/VISUGUI/VisuGUI_ClippingDlg.cxx index 79db3e48..68797bc8 100644 --- a/src/VISUGUI/VisuGUI_ClippingDlg.cxx +++ b/src/VISUGUI/VisuGUI_ClippingDlg.cxx @@ -348,17 +348,16 @@ VisuGUI_ClippingDlg::VisuGUI_ClippingDlg (VisuGUI* theModule, VISU::RangeStepAndValidator(SpinBoxRot1, -180.0, 180.0, 1, 3); VISU::RangeStepAndValidator(SpinBoxRot2, -180.0, 180.0, 1, 3); + ComboBoxOrientation->insertItem(tr("PARALLEL_XOY_COMBO_ITEM")); + ComboBoxOrientation->insertItem(tr("PARALLEL_YOZ_COMBO_ITEM")); + ComboBoxOrientation->insertItem(tr("PARALLEL_ZOX_COMBO_ITEM")); + SpinBoxDistance->setValue(0.5); myPrs3d = 0; myIsSelectPlane = false; onSelectionChanged(); - ComboBoxOrientation->insertItem(tr("PARALLEL_XOY_COMBO_ITEM")); - ComboBoxOrientation->insertItem(tr("PARALLEL_YOZ_COMBO_ITEM")); - ComboBoxOrientation->insertItem(tr("PARALLEL_ZOX_COMBO_ITEM")); - - // signals and slots connections : connect(ComboBoxPlanes , SIGNAL(activated(int)) , this, SLOT(onSelectPlane(int))); connect(buttonNew , SIGNAL(clicked()) , this, SLOT(ClickOnNew()));