From 1922ed077531b39ed7cfafbe677efc9d19ea0b58 Mon Sep 17 00:00:00 2001 From: nds Date: Fri, 31 Jan 2014 13:25:15 +0000 Subject: [PATCH] #refs 327 - Polyline is not shown during creation Message window --- src/HYDROGUI/HYDROGUI_Shape.cxx | 2 ++ 1 file changed, 2 insertions(+) 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() ) -- 2.39.2