mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-20 16:28:54 +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:
parent
354c4690d2
commit
d3bd9f1f0c
Notes:
sideshowbarker
2024-07-17 23:16:35 +09:00
Author: https://github.com/awesomekling
Commit: d3bd9f1f0c
1 changed files with 2 additions and 1 deletions
|
@ -561,7 +561,8 @@ NonnullRefPtr<GUI::Action> HackStudioWidget::create_delete_action()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
},
|
||||||
|
m_project_tree_view);
|
||||||
delete_action->set_enabled(false);
|
delete_action->set_enabled(false);
|
||||||
return delete_action;
|
return delete_action;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue