src/documentmanager.cpp

changeset 1090
ed73c4f48ca4
parent 1086
621c2e5853bb
child 1097
9a9e6ce0c5dc
equal deleted inserted replaced
1089:97a539057536 1090:ed73c4f48ca4
117 117
118 m_loadingMainFile = false; 118 m_loadingMainFile = false;
119 return; 119 return;
120 } 120 }
121 121
122 file->openForEditing(); 122 m_window->openDocumentForEditing(file);
123 m_window->closeInitialDocument(); 123 m_window->closeInitialDocument();
124 m_window->changeDocument (file); 124 m_window->changeDocument (file);
125 m_window->doFullRefresh(); 125 m_window->doFullRefresh();
126 addRecentFile (path); 126 addRecentFile (path);
127 m_loadingMainFile = false; 127 m_loadingMainFile = false;

mercurial