Bug 798186 - Incorrect result editting account in register when...

overtyping a part selection.

Because the selection got deleted twice. Clear the selection after
the first delete.
This commit is contained in:
John Ralls
2021-06-17 16:56:03 -07:00
parent b6beb4077b
commit 6a7b3791e6

View File

@@ -629,6 +629,7 @@ gnc_combo_cell_modify_verify (BasicCell* _cell,
if (change == NULL || *cursor_position < _cell->value_chars)
{
gnc_basic_cell_set_value_internal (_cell, newval);
*start_selection = *end_selection = *cursor_position;
return;
}
match_str = quickfill_match (box->qf, newval);