mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:28:13 +00:00
HackStudio: Allow multi-selection in project view tree
This commit is contained in:
parent
6d68ae45b4
commit
faed0e63dc
1 changed files with 1 additions and 0 deletions
|
@ -694,6 +694,7 @@ void HackStudioWidget::create_project_tree_view(GUI::Widget& parent)
|
|||
{
|
||||
m_project_tree_view = parent.add<GUI::TreeView>();
|
||||
m_project_tree_view->set_model(m_project->model());
|
||||
m_project_tree_view->set_selection_mode(GUI::AbstractView::SelectionMode::MultiSelection);
|
||||
|
||||
for (int column_index = 0; column_index < m_project->model().column_count(); ++column_index)
|
||||
m_project_tree_view->set_column_hidden(column_index, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue