--- a/src/documentmanager.cpp Fri Feb 03 10:51:08 2017 +0200 +++ b/src/documentmanager.cpp Sat Feb 04 14:24:16 2017 +0200 @@ -119,7 +119,7 @@ return; } - file->openForEditing(); + m_window->openDocumentForEditing(file); m_window->closeInitialDocument(); m_window->changeDocument (file); m_window->doFullRefresh();