mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
HackStudio: Scope the "delete file from project" action to tree view
Otherwise it triggers when trying to delete characters in the editor.
This commit is contained in:
@@ -561,7 +561,8 @@ NonnullRefPtr<GUI::Action> HackStudioWidget::create_delete_action()
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
m_project_tree_view);
|
||||
delete_action->set_enabled(false);
|
||||
return delete_action;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user