]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Bug IPAL19257 : Qt4 porting. Dump Study, Cancel leads to warning message.
authorouv <ouv@opencascade.com>
Tue, 25 Mar 2008 14:12:30 +0000 (14:12 +0000)
committerouv <ouv@opencascade.com>
Tue, 25 Mar 2008 14:12:30 +0000 (14:12 +0000)
src/SalomeApp/SalomeApp_Application.cxx

index 75330dd1b73743a0bae5b5669f9e60edd50ad6a4..6a9c4b1dc7a415f416e5d079d325d47a05f1ffd1 100644 (file)
@@ -662,6 +662,9 @@ void SalomeApp_Application::onDumpStudy( )
 
   if ( !aFileName.isEmpty() ) {
     QFileInfo aFileInfo(aFileName);
+    if( aFileInfo.isDir() ) // IPAL19257
+      return;
+
     int savePoint;
     _PTR(AttributeParameter) ap;
     _PTR(IParameters) ip = ClientFactory::getIParameters(ap);