From 7c8270cfc09e6aeaf473312d1849059f86ad7450 Mon Sep 17 00:00:00 2001 From: enk Date: Mon, 12 Mar 2007 07:09:45 +0000 Subject: [PATCH] Fix for Bug Bug IPAL14175: Problem of clipping plane location after switching between Not structured / Structured tabs --- src/VISUGUI/VisuGUI_ClippingDlg.cxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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())); -- 2.39.2