+ 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
This commit is contained in:
parent
a325e2422b
commit
ce9a0bc54e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user