void Model_Session::closeAll()
{
Model_Application::getApplication()->deleteAllDocuments();
+ static const Events_ID aDocChangeEvent = Events_Loop::eventByName(EVENT_DOCUMENT_CHANGED);
+ static std::shared_ptr<Events_Message> aMsg(new Events_Message(aDocChangeEvent));
+ Events_Loop::loop()->send(aMsg);
+ Events_Loop::loop()->flush(aDocChangeEvent);
}
void Model_Session::startOperation(const std::string& theId, const bool theAttachedToNested)