]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix a bug with cancel "Save as"
authorvsv <vsv@opencascade.com>
Tue, 23 Oct 2018 14:19:39 +0000 (17:19 +0300)
committervsv <vsv@opencascade.com>
Tue, 23 Oct 2018 14:19:39 +0000 (17:19 +0300)
src/XGUI/XGUI_Workshop.cpp

index a9e69145c5dc764b6888f27c856da3c7d93c527c..90e33e3155bef50767f7d3c6bbc4f5f2f3e67ddd 100755 (executable)
@@ -1088,6 +1088,8 @@ bool XGUI_Workshop::onSaveAs()
       myCurrentFile += ".opp";
     }
   }
+  else
+    return false;
 #ifndef HAVE_SALOME
     myMainWindow->setCurrentDir(myCurrentFile, false);
     myMainWindow->setModifiedState(false);