Remedy bug in Apply Label feature w/ Enter key

Should correct bug https://sourceforge.net/p/tuxpaint/bugs/249/
h/t Shin-ichi
This commit is contained in:
Bill Kendrick 2022-04-22 18:16:55 -07:00
parent b6aab66898
commit cc6cf1ebcc
2 changed files with 3 additions and 3 deletions

View file

@ -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.

View file

@ -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