mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:07:34 +00:00
HackStudio: do not toggle_index in open_project
When opening a new project `m_prject_tree_view->toggle_index()` is not needed because `m_project_tree_view->set_model()` already updates the indexes.
This commit is contained in:
parent
d9c5fdf5d5
commit
f80b40b411
1 changed files with 0 additions and 1 deletions
|
@ -190,7 +190,6 @@ void HackStudioWidget::open_project(const String& root_path)
|
||||||
ASSERT(m_project);
|
ASSERT(m_project);
|
||||||
if (m_project_tree_view) {
|
if (m_project_tree_view) {
|
||||||
m_project_tree_view->set_model(m_project->model());
|
m_project_tree_view->set_model(m_project->model());
|
||||||
m_project_tree_view->toggle_index(m_project_tree_view->model()->index(0, 0));
|
|
||||||
m_project_tree_view->update();
|
m_project_tree_view->update();
|
||||||
}
|
}
|
||||||
if (Debugger::is_initialized()) {
|
if (Debugger::is_initialized()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue