mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:38:11 +00:00
Spreadsheet: Enable the "any key pressed" edit trigger in spreadsheets
This commit is contained in:
parent
5daa19fdab
commit
c43f0f012d
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ SpreadsheetView::SpreadsheetView(Sheet& sheet)
|
|||
m_table_view = add<GUI::TableView>();
|
||||
m_table_view->set_grid_style(GUI::TableView::GridStyle::Both);
|
||||
m_table_view->set_cursor_style(GUI::TableView::CursorStyle::Item);
|
||||
m_table_view->set_edit_triggers(GUI::AbstractView::EditTrigger::EditKeyPressed | GUI::AbstractView::AnyKeyPressed | GUI::AbstractView::DoubleClicked);
|
||||
m_table_view->row_header().set_visible(true);
|
||||
m_table_view->set_model(SheetModel::create(*m_sheet));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue