mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 02:40:49 +00:00
LibGUI: Pressing Return in an editable TableView should begin editing
This matches what happens when you double-click on a cell.
This commit is contained in:
@@ -159,7 +159,7 @@ void TableView::keydown_event(KeyEvent& event)
|
||||
return;
|
||||
auto& model = *this->model();
|
||||
if (event.key() == KeyCode::Key_Return) {
|
||||
activate_selected();
|
||||
activate_or_edit_selected();
|
||||
return;
|
||||
}
|
||||
if (event.key() == KeyCode::Key_Left) {
|
||||
|
||||
Reference in New Issue
Block a user