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