]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for Bug IPAL11595:
authorenk <enk@opencascade.com>
Mon, 13 Feb 2006 11:37:50 +0000 (11:37 +0000)
committerenk <enk@opencascade.com>
Mon, 13 Feb 2006 11:37:50 +0000 (11:37 +0000)
Incorrect filling of the "Properties" field in "Setup Animation" dlg after "Show..." animation.

src/VISUGUI/VisuGUI_TimeAnimation.cxx

index 476721a51807548745b242d04ec3a156a46d5e19..213b1ca32a579ead96b4834a4c6876e2256eef79 100644 (file)
@@ -647,7 +647,7 @@ void SetupDlg::onFieldChange (int theIndex)
     myTypeCombo->setCurrentItem(myTypeId2ComboId[TDEFORMEDSHAPE_ITEM]);
     break;
   case VISU::TSCALARMAPONDEFORMEDSHAPE: //Scalar Map on Deformed Shape
-    myTypeCombo->setCurrentItem(TSCALARMAPONDEFORMEDSHAPE_ITEM);
+    myTypeCombo->setCurrentItem(myTypeId2ComboId[TSCALARMAPONDEFORMEDSHAPE_ITEM]);
     break;
   case VISU::TVECTORS: //Vectors
     myTypeCombo->setCurrentItem(myTypeId2ComboId[TVECTORS_ITEM]);