Commit 832857df authored by Arturo Espinosa's avatar Arturo Espinosa

Small more changes

parent 3b45426a
......@@ -339,8 +339,11 @@ cancel_pending_input (GnumericSheet *gsheet)
{
stop_cell_selection (gsheet);
if (gsheet->item_editor)
if (gsheet->item_editor){
cell_set_text (gsheet->sheet, gsheet->editing_cell,
gsheet->editing_saved_text->str);
destroy_item_editor (gsheet);
}
}
static void
......
......@@ -339,8 +339,11 @@ cancel_pending_input (GnumericSheet *gsheet)
{
stop_cell_selection (gsheet);
if (gsheet->item_editor)
if (gsheet->item_editor){
cell_set_text (gsheet->sheet, gsheet->editing_cell,
gsheet->editing_saved_text->str);
destroy_item_editor (gsheet);
}
}
static void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment