From cada0ac15061402772f6b6aecd001c1297cd4306 Mon Sep 17 00:00:00 2001 From: stv Date: Mon, 27 Jun 2005 11:58:58 +0000 Subject: [PATCH] no message --- src/STD/STD_Application.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/STD/STD_Application.cxx b/src/STD/STD_Application.cxx index 072ef0738..b23c978da 100755 --- a/src/STD/STD_Application.cxx +++ b/src/STD/STD_Application.cxx @@ -359,11 +359,10 @@ bool STD_Application::isPossibleToClose() switch ( aAnswer ) { case 1: - if ( !activeStudy()->isSaved() ) - if ( !onSaveAsDoc() ) - return false; - else + if ( activeStudy()->isSaved() ) onSaveDoc(); + else if ( !onSaveAsDoc() ) + return false; break; case 2: break; -- 2.39.2