From: mpv Date: Mon, 26 May 2014 08:08:15 +0000 (+0400) Subject: Fix for issue #74 X-Git-Tag: V_0.2~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bce1d2c68e0821e6fc391892f2e3e07af248f40e;p=modules%2Fshaper.git Fix for issue #74 --- diff --git a/src/Model/Model_Document.cpp b/src/Model/Model_Document.cpp index 87ad7e0b1..6f3b4a7a9 100644 --- a/src/Model/Model_Document.cpp +++ b/src/Model/Model_Document.cpp @@ -172,9 +172,11 @@ void Model_Document::close() subDocument(*aSubIter)->close(); mySubs.clear(); // close this + /* do not close because it can be undoed if (myDoc->CanClose() == CDM_CCS_OK) myDoc->Close(); Model_Application::getApplication()->deleteDocument(myID); + */ } void Model_Document::startOperation()