mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 20:15:00 +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:
parent
0f0b37d137
commit
f86c074be8
4 changed files with 12 additions and 6 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue