From ce9a0bc54eb8e38cadf5e4d9e16ed7eb83ae0cfa Mon Sep 17 00:00:00 2001 From: wmayer Date: Tue, 17 Jan 2012 12:09:10 +0000 Subject: [PATCH] + ignore the 'Closable' flag in closeDocument() git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5413 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d --- src/App/Application.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/App/Application.cpp b/src/App/Application.cpp index 4a7d79407..aa49a5575 100644 --- a/src/App/Application.cpp +++ b/src/App/Application.cpp @@ -308,9 +308,6 @@ bool Application::closeDocument(const char* name) if (pos == DocMap.end()) // no such document return false; - if (!pos->second->isClosable()) - return false; - // Trigger observers before removing the document from the internal map. // Some observers might rely on that this document is still there. signalDeleteDocument(*pos->second);