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:
Andreas Kling 2020-08-24 21:20:54 +02:00
commit f86c074be8
Notes: sideshowbarker 2024-07-19 03:12:05 +09:00
4 changed files with 12 additions and 6 deletions

View file

@ -100,6 +100,7 @@ protected:
void set_hovered_index(const ModelIndex&);
void activate(const ModelIndex&);
void activate_selected();
void activate_or_edit_selected();
void update_edit_widget_position();
bool m_editable { false };