]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
PAL9935 - Error message must appear if non-existing directory is selected in "quick...
authorasl <asl@opencascade.com>
Mon, 7 Nov 2005 10:40:49 +0000 (10:40 +0000)
committerasl <asl@opencascade.com>
Mon, 7 Nov 2005 10:40:49 +0000 (10:40 +0000)
src/SUIT/SUIT_FileDlg.cxx

index fffee22abcc1246cf5e97ebd08c4e7b291f8b526..cb8a71b69e12837b47f9bea4f9631b5445002eed 100755 (executable)
@@ -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