From: ouv Date: Tue, 25 Mar 2008 14:12:30 +0000 (+0000) Subject: Bug IPAL19257 : Qt4 porting. Dump Study, Cancel leads to warning message. X-Git-Tag: V5_0_0a1~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9be08ed5cce93982b100732e73b769f2075c4906;p=modules%2Fgui.git Bug IPAL19257 : Qt4 porting. Dump Study, Cancel leads to warning message. --- diff --git a/src/SalomeApp/SalomeApp_Application.cxx b/src/SalomeApp/SalomeApp_Application.cxx index 75330dd1b..6a9c4b1dc 100644 --- a/src/SalomeApp/SalomeApp_Application.cxx +++ b/src/SalomeApp/SalomeApp_Application.cxx @@ -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);