From dfcc339e15dbf62b90a9efa20586e3db8cb2f069 Mon Sep 17 00:00:00 2001 From: Jehan Date: Sun, 29 Jan 2023 23:56:12 +0100 Subject: [PATCH] app: fix non-properly matching gimp_image_undo_group_start/end() calls. --- app/actions/items-commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/actions/items-commands.c b/app/actions/items-commands.c index 3e84d37132..f212447190 100644 --- a/app/actions/items-commands.c +++ b/app/actions/items-commands.c @@ -247,7 +247,7 @@ items_color_tag_cmd_callback (GimpAction *action, if (color_tag != gimp_item_get_color_tag (iter->data)) gimp_item_set_color_tag (iter->data, color_tag, push_undo); - if (g_list_length (items) == 1) + if (g_list_length (items) != 1) gimp_image_undo_group_end (image); gimp_image_flush (image);