mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
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
@ -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…
Reference in New Issue
Block a user