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; |