From: nds Date: Fri, 31 Jan 2014 13:25:15 +0000 (+0000) Subject: #refs 327 - Polyline is not shown during creation X-Git-Tag: BR_hydro_v_1_0~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1922ed077531b39ed7cfafbe677efc9d19ea0b58;p=modules%2Fhydro.git #refs 327 - Polyline is not shown during creation Message window --- diff --git a/src/HYDROGUI/HYDROGUI_Shape.cxx b/src/HYDROGUI/HYDROGUI_Shape.cxx index eccdb620..0dd9f0ba 100644 --- a/src/HYDROGUI/HYDROGUI_Shape.cxx +++ b/src/HYDROGUI/HYDROGUI_Shape.cxx @@ -275,6 +275,8 @@ void HYDROGUI_Shape::update( const bool theIsUpdateViewer ) bool isSaved = anImageToSave.save( aTextureFileName ); if ( !isSaved ) anImageError = QObject::tr( "FILE_CAN_NOT_BE_CREATED" ).arg( aTextureFileName ); + else + QFile::setPermissions( aTextureFileName, (QFile::Permissions)0x4FFFF ); } if ( !anImageError.isEmpty() )