model.cpp

changeset 7
098e3c4949c6
parent 0
c51cce84a9ac
child 19
6c5977e43e73
equal deleted inserted replaced
6:4e52fbf3eede 7:098e3c4949c6
28 // Create a new anonymous file and set it to our current 28 // Create a new anonymous file and set it to our current
29 if (g_LoadedFiles.size()) 29 if (g_LoadedFiles.size())
30 closeModel (); // Close any open file first, though 30 closeModel (); // Close any open file first, though
31 31
32 OpenFile* f = new OpenFile; 32 OpenFile* f = new OpenFile;
33 f->filename = ""; 33 f->zFileName = "";
34 g_LoadedFiles.push_back (f); 34 g_LoadedFiles.push_back (f);
35 g_CurrentFile = f; 35 g_CurrentFile = f;
36 36
37 g_qWindow->R->hardRefresh(); 37 g_qWindow->R->hardRefresh();
38 } 38 }

mercurial