From 9be08ed5cce93982b100732e73b769f2075c4906 Mon Sep 17 00:00:00 2001 From: ouv Date: Tue, 25 Mar 2008 14:12:30 +0000 Subject: [PATCH] Bug IPAL19257 : Qt4 porting. Dump Study, Cancel leads to warning message. --- src/SalomeApp/SalomeApp_Application.cxx | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.39.2