From dbb3740e9189aac674935dc948b3408712252cc2 Mon Sep 17 00:00:00 2001 From: asl Date: Mon, 7 Nov 2005 10:40:49 +0000 Subject: [PATCH] PAL9935 - Error message must appear if non-existing directory is selected in "quick dir" list. --- src/SUIT/SUIT_FileDlg.cxx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/SUIT/SUIT_FileDlg.cxx b/src/SUIT/SUIT_FileDlg.cxx index fffee22ab..cb8a71b69 100755 --- a/src/SUIT/SUIT_FileDlg.cxx +++ b/src/SUIT/SUIT_FileDlg.cxx @@ -371,15 +371,13 @@ void SUIT_FileDlg::quickDir(const QString& dirPath) QString aPath = dirPath; if ( !QDir(aPath).exists() ) { aPath = QDir::homeDirPath(); - /* SUIT_MessageBox::error1(this, - tr("ERR_ERROR"), - tr("ERR_DIR_NOT_EXIST").arg(dirPath), - tr("BUT_OK"));*/ - + SUIT_MessageBox::error1(this, + tr("ERR_ERROR"), + tr("ERR_DIR_NOT_EXIST").arg(dirPath), + tr("BUT_OK")); } - // else { + else processPath(aPath); - // } } /*! Called when user presses "Add" button - adds current directory to quick directory -- 2.39.2