Skip to content

Commit

Permalink
fixed crash pressing Ctrl+Z while editing table light cell
Browse files Browse the repository at this point in the history
  • Loading branch information
giuspen committed Oct 3, 2024
1 parent c2fe5ff commit 770a841
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ct/ct_table_light.cc
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ void CtTableLight::_on_cell_renderer_editing_started(Gtk::CellEditable* editable

bool CtTableLight::_on_entry_focus_out_event(GdkEventFocus*/*gdk_event*/, Gtk::Entry* pEntry, const Glib::ustring& path, const size_t column)
{
_on_cell_renderer_text_edited(path, pEntry->get_text(), column);
if (_pCtMainWin->user_active()) {
_on_cell_renderer_text_edited(path, pEntry->get_text(), column);
}
_pEditingCellEntry = nullptr;
return false;
}
Expand Down

0 comments on commit 770a841

Please sign in to comment.