]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for Bug Bug IPAL14175: V3_2_6pre2
authorenk <enk@opencascade.com>
Mon, 12 Mar 2007 07:09:45 +0000 (07:09 +0000)
committerenk <enk@opencascade.com>
Mon, 12 Mar 2007 07:09:45 +0000 (07:09 +0000)
Problem of clipping plane location after switching between Not structured / Structured tabs

src/VISUGUI/VisuGUI_ClippingDlg.cxx

index 79db3e48911b9620fbcd723eb3b2d0bc87d43b92..68797bc8c2cb77004f9131cedfc8252a9df77b1b 100644 (file)
@@ -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()));