Skip to content

Commit

Permalink
Wire up new project correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnDTill committed Sep 19, 2023
1 parent a46b4c5 commit d595947
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/projectbrowser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ void ProjectBrowser::addProjectEntry(Forscape::Typeset::Model* model) {
void ProjectBrowser::populateWithNewProject(Forscape::Typeset::Model* model) {
clear();
FileEntry* item = new FileEntry(invisibleRootItem());
files_in_memory[model] = item;
item->setText(0, "untitled");
item->setIcon(0, main_icon);
item->model = model;
Expand Down

0 comments on commit d595947

Please sign in to comment.