From cc6cf1ebcc9b6e0b8a49fc8ee115473772727fa4 Mon Sep 17 00:00:00 2001 From: Bill Kendrick Date: Fri, 22 Apr 2022 18:16:55 -0700 Subject: [PATCH] Remedy bug in Apply Label feature w/ Enter key Should correct bug https://sourceforge.net/p/tuxpaint/bugs/249/ h/t Shin-ichi --- docs/CHANGES.txt | 2 +- src/tuxpaint.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt index 4b3aeabeb..1a51a6902 100644 --- a/docs/CHANGES.txt +++ b/docs/CHANGES.txt @@ -7,7 +7,7 @@ Various contributors (see below, and AUTHORS.txt) http://www.tuxpaint.org/ -2022.April.14 (0.9.28) +2022.April.22 (0.9.28) * Improvements to "Paint" and "Lines" tools: ------------------------------------------ * Brush spacing may now be altered within Tux Paint. diff --git a/src/tuxpaint.c b/src/tuxpaint.c index 859564425..a3975b053 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA (See COPYING.txt) - June 14, 2002 - April 18, 2022 + June 14, 2002 - April 22, 2022 */ #include "platform.h" @@ -2978,9 +2978,9 @@ static void mainloop(void) if (label_node_to_edit) { - apply_label_node(old_x, old_y); reposition_onscreen_keyboard(old_y); apply_label_node(highlighted_label_node->save_x, highlighted_label_node->save_y); + do_render_cur_text(0); } } else