HackStudio: removed toggle_index
Removed `m_project_tree_view->toggle_index()` when adding new file to project.
This commit is contained in:
parent
e625ae1130
commit
32a363ded5
Notes:
sideshowbarker
2024-07-18 22:43:07 +09:00
Author: https://github.com/masozzi Commit: https://github.com/SerenityOS/serenity/commit/32a363ded50 Pull-request: https://github.com/SerenityOS/serenity/pull/5181
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue