]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for bug IPAL19203.
authormkr <mkr@opencascade.com>
Thu, 13 Mar 2008 15:53:20 +0000 (15:53 +0000)
committermkr <mkr@opencascade.com>
Thu, 13 Mar 2008 15:53:20 +0000 (15:53 +0000)
src/VISUGUI/VisuGUI_TimeAnimation.cxx

index 096670a60db08ca14118a6fdc6d289d5648be4a7..6829fb48eb674027dc781a0059e804374d8bd542 100644 (file)
@@ -1429,8 +1429,8 @@ VisuGUI_TimeAnimationDlg::VisuGUI_TimeAnimationDlg (VisuGUI* theModule,
   for (unsigned int i = 0; i < aDumpFormats.count(); i++) {
     myPicsFormat->addItem(aDumpFormats.at(i));
   }
-  if (aDumpFormats.indexOf("JPEG"))
-    myPicsFormat->setCurrentIndex(aDumpFormats.indexOf("JPEG"));
+  if (aDumpFormats.indexOf("jpeg"))
+    myPicsFormat->setCurrentIndex(aDumpFormats.indexOf("jpeg"));
   else
     myPicsFormat->setCurrentIndex(0);
   myPicsFormat->setEnabled(false);