gnucash master: Bug 797804 - Another misbehaving text cursor in register.

Robert Fewell bobit at code.gnucash.org
Sun Jun 14 08:50:53 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/dcfe85ce (commit)
	from  https://github.com/Gnucash/gnucash/commit/4ca52b23 (commit)



commit dcfe85ce11b39aae1fea8f746b3e5ca26397b79d
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Sun Jun 14 13:46:04 2020 +0100

    Bug 797804 - Another misbehaving text cursor in register.

diff --git a/gnucash/register/register-gnome/datecell-gnome.c b/gnucash/register/register-gnome/datecell-gnome.c
index ecd8d64ed..c716465b4 100644
--- a/gnucash/register/register-gnome/datecell-gnome.c
+++ b/gnucash/register/register-gnome/datecell-gnome.c
@@ -596,7 +596,6 @@ gnc_date_cell_modify_verify (BasicCell *_cell,
     {
         gnc_basic_cell_set_value_internal (&cell->cell, newval);
         gnc_parse_date (&(box->date), newval, FALSE);
-        *cursor_position += g_utf8_strlen (change, -1);
         *end_selection = *start_selection = *cursor_position;
 
         if (!box->date_picker)



Summary of changes:
 gnucash/register/register-gnome/datecell-gnome.c | 1 -
 1 file changed, 1 deletion(-)



More information about the gnucash-changes mailing list