HackStudio: removed toggle_index

Removed `m_project_tree_view->toggle_index()` when adding new file to
project.
This commit is contained in:
Matteo Sozzi 2021-01-30 14:56:59 +01:00 committed by Andreas Kling
parent e625ae1130
commit 32a363ded5
Notes: sideshowbarker 2024-07-18 22:43:07 +09:00

View File

@ -308,7 +308,6 @@ NonnullRefPtr<GUI::Action> HackStudioWidget::create_new_action()
GUI::MessageBox::show(window(), String::formatted("Failed to create '{}'", filename), "Error", GUI::MessageBox::Type::Error);
return;
}
m_project_tree_view->toggle_index(m_project_tree_view->model()->index(0, 0));
open_file(filename);
});
}