]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for bug 10683: Regression in saving animation snapshots.
authorjfa <jfa@opencascade.com>
Fri, 9 Dec 2005 10:11:57 +0000 (10:11 +0000)
committerjfa <jfa@opencascade.com>
Fri, 9 Dec 2005 10:11:57 +0000 (10:11 +0000)
src/VISUGUI/VisuGUI_TimeAnimation.cxx

index 1e7ac208b9c7a19c1335ab84a1b70382482443ca..12ce55ee004623dcb6c0b5f6a75d4ce3232db437 100644 (file)
@@ -1018,6 +1018,7 @@ VisuGUI_TimeAnimationDlg::VisuGUI_TimeAnimationDlg (VisuGUI* theModule, _PTR(Stu
   aSaveLay->addWidget(aPathLbl, 1, 0);
 
   myPathEdit = new QLineEdit(aSaveBox);
+  myPathEdit->setReadOnly(true);
   myPathEdit->setEnabled(false);
   connect(mySaveCheck, SIGNAL( toggled(bool)),
          myPathEdit, SLOT( setEnabled(bool) ));
@@ -1227,9 +1228,9 @@ void VisuGUI_TimeAnimationDlg::onSetupDlg()
 //************************************************************************
 void VisuGUI_TimeAnimationDlg::onBrowse()
 {
-  QString aPath = SUIT_FileDlg::getExistingDirectory(this, "/","Select path");
+  QString aPath = SUIT_FileDlg::getExistingDirectory(this, "/", "Select path");
   if (!aPath.isEmpty())
-    myPathEdit->setText(aPath);
+    myPathEdit->setText(Qtx::addSlash(aPath));
 }
 
 //************************************************************************