mirror of
https://github.com/RGBCube/serenity
synced 2025-07-15 09:57:35 +00:00
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:
parent
9a0f40d4b5
commit
c5278dac99
1 changed files with 0 additions and 3 deletions
|
@ -81,9 +81,6 @@ SpreadsheetView::SpreadsheetView(Sheet& sheet)
|
||||||
return on_selection_dropped();
|
return on_selection_dropped();
|
||||||
|
|
||||||
auto selection = m_table_view->selection().first();
|
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() };
|
Position position { m_sheet->column(selection.column()), (size_t)selection.row() };
|
||||||
auto& cell = m_sheet->ensure(position);
|
auto& cell = m_sheet->ensure(position);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue