src/documentmanager.cpp

changeset 1090
ed73c4f48ca4
parent 1086
621c2e5853bb
child 1097
9a9e6ce0c5dc
--- 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();

mercurial