From d665492e356ab20ed5b6072a90dbea4e3138c125 Mon Sep 17 00:00:00 2001 From: Karol Kosek Date: Tue, 15 Mar 2022 12:06:51 +0100 Subject: [PATCH] Spreadsheet: Don't remove on_change tab function after loading a file Forgot to remove that in c0c9825f67e649daf277e75829c8f4bce1428115, as this function was no longer declared and used... Until the previous commit. This meant that pressing the F2 key after opening a file no longer matched the current tab. --- Userland/Applications/Spreadsheet/SpreadsheetWidget.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Userland/Applications/Spreadsheet/SpreadsheetWidget.cpp b/Userland/Applications/Spreadsheet/SpreadsheetWidget.cpp index 1f9f010202..6b0af1f5a7 100644 --- a/Userland/Applications/Spreadsheet/SpreadsheetWidget.cpp +++ b/Userland/Applications/Spreadsheet/SpreadsheetWidget.cpp @@ -425,7 +425,6 @@ void SpreadsheetWidget::load_file(Core::File& file) return; } - m_tab_widget->on_change = nullptr; m_cell_value_editor->on_change = nullptr; m_current_cell_label->set_text(""); m_should_change_selected_cells = false;