1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 18:20:43 +09: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:
Andreas Kling 2021-11-30 16:12:49 +01:00
parent 354c4690d2
commit d3bd9f1f0c
Notes: sideshowbarker 2024-07-17 23:16:35 +09:00

View file

@ -561,7 +561,8 @@ NonnullRefPtr<GUI::Action> HackStudioWidget::create_delete_action()
}
}
}
});
},
m_project_tree_view);
delete_action->set_enabled(false);
return delete_action;
}