mirror of
https://github.com/RGBCube/serenity
synced 2025-07-22 12:47:35 +00: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
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);
|
GUI::MessageBox::show(window(), String::formatted("Failed to create '{}'", filename), "Error", GUI::MessageBox::Type::Error);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
m_project_tree_view->toggle_index(m_project_tree_view->model()->index(0, 0));
|
|
||||||
open_file(filename);
|
open_file(filename);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue