From 84fb38ab726f39f8e47177e58bcccc3d22185bda Mon Sep 17 00:00:00 2001 From: Alx Sa Date: Thu, 20 Nov 2025 14:53:31 +0000 Subject: [PATCH] actions: Fix deleting single items in Doc. History Resolves #15349 4812fddc adds the ability to delete multiple items at once. However, the limit to delete was accidentally set to greater than 1, rather than 0. This patch fixes this mistake. --- app/actions/documents-commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/actions/documents-commands.c b/app/actions/documents-commands.c index 2b12b6666e..5301553a65 100644 --- a/app/actions/documents-commands.c +++ b/app/actions/documents-commands.c @@ -226,7 +226,7 @@ documents_remove_cmd_callback (GimpAction *action, GList *images = NULL; GList *list; - if (gimp_container_view_get_selected (editor->view, &images) > 1) + if (gimp_container_view_get_selected (editor->view, &images) > 0) { for (list = images; list; list = list->next) {