From c2b2e4eed57fadd3eae3c8b416eb0ee84e0ee721 Mon Sep 17 00:00:00 2001 From: jfa Date: Fri, 9 Dec 2005 10:11:57 +0000 Subject: [PATCH] Fix for bug 10683: Regression in saving animation snapshots. --- src/VISUGUI/VisuGUI_TimeAnimation.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/VISUGUI/VisuGUI_TimeAnimation.cxx b/src/VISUGUI/VisuGUI_TimeAnimation.cxx index 1e7ac208..12ce55ee 100644 --- a/src/VISUGUI/VisuGUI_TimeAnimation.cxx +++ b/src/VISUGUI/VisuGUI_TimeAnimation.cxx @@ -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)); } //************************************************************************ -- 2.39.2