From e9a1d491251ee3845ceaa026315903d932c0c670 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Sun, 19 Jul 2020 13:54:10 -0700 Subject: [PATCH] Quickfill cells: Remove the selection after a delete. So that new characters aren't selected afterwards. --- gnucash/register/register-core/quickfillcell.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnucash/register/register-core/quickfillcell.c b/gnucash/register/register-core/quickfillcell.c index fee2566123..39332eeabd 100644 --- a/gnucash/register/register-core/quickfillcell.c +++ b/gnucash/register/register-core/quickfillcell.c @@ -192,6 +192,8 @@ gnc_quickfill_cell_modify_verify (BasicCell *_cell, gnc_quickfill_cell_set_original (cell, NULL); gnc_basic_cell_set_value_internal (&cell->cell, newval); + // Remove any selection. + *end_selection = *start_selection = *cursor_position; return; }