summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-08-26 16:57:22 +0200
committerAndreas Kling <kling@serenityos.org>2020-08-26 17:00:40 +0200
commitc5278dac99045b3f95b2db37fc9ee4a842b21d00 (patch)
tree5acd8489022366e52d6de761daf709820042f5a3
parent9a0f40d4b5d8f5751432a88b1a479add8c814813 (diff)
downloadserenity-c5278dac99045b3f95b2db37fc9ee4a842b21d00.zip
Spreadsheet: Don't ignore selections in the A column :^)
This was a leftover from when the first column contained row numbers.
-rw-r--r--Applications/Spreadsheet/SpreadsheetView.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/Applications/Spreadsheet/SpreadsheetView.cpp b/Applications/Spreadsheet/SpreadsheetView.cpp
index e4339b038e..5669417541 100644
--- a/Applications/Spreadsheet/SpreadsheetView.cpp
+++ b/Applications/Spreadsheet/SpreadsheetView.cpp
@@ -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);