1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 11:18:13 +00:00

Spreadsheet: Don't remove on_change tab function after loading a file

Forgot to remove that in c0c9825f67, 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.
This commit is contained in:
Karol Kosek 2022-03-15 12:06:51 +01:00 committed by Ali Mohammad Pur
parent 07b369b7d9
commit d665492e35

View file

@ -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;