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.
This commit is contained in:
parent
c8d7aa0814
commit
84fb38ab72
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue