Spreadsheet: Don't ignore selections in the A column :^)

This was a leftover from when the first column contained row numbers.
This commit is contained in:
Andreas Kling 2020-08-26 16:57:22 +02:00
commit c5278dac99
Notes: sideshowbarker 2024-07-19 03:07:33 +09:00

View file

@ -81,9 +81,6 @@ SpreadsheetView::SpreadsheetView(Sheet& sheet)
return on_selection_dropped();
auto selection = m_table_view->selection().first();
// Ignore selecting the row numbers.
if (selection.column() == 0)
return;
Position position { m_sheet->column(selection.column()), (size_t)selection.row() };
auto& cell = m_sheet->ensure(position);