From: jfa Date: Fri, 9 Dec 2005 10:11:57 +0000 (+0000) Subject: Fix for bug 10683: Regression in saving animation snapshots. X-Git-Tag: T_3_1_0pre~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c2b2e4eed57fadd3eae3c8b416eb0ee84e0ee721;p=modules%2Fvisu.git Fix for bug 10683: Regression in saving animation snapshots. --- 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)); } //************************************************************************