From: vsv Date: Tue, 23 Oct 2018 14:19:39 +0000 (+0300) Subject: Fix a bug with cancel "Save as" X-Git-Tag: V9_2_0a2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=35feb56d2a028f229f6b1298e2c089114d942870;p=modules%2Fshaper.git Fix a bug with cancel "Save as" --- diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index a9e69145c..90e33e315 100755 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -1088,6 +1088,8 @@ bool XGUI_Workshop::onSaveAs() myCurrentFile += ".opp"; } } + else + return false; #ifndef HAVE_SALOME myMainWindow->setCurrentDir(myCurrentFile, false); myMainWindow->setModifiedState(false);