app: update image menu when starting a blend-tool edit action

... since we can't undo blend steps while an action is in progress.
This commit is contained in:
Ell 2017-11-16 11:03:00 -05:00
parent ac983d99fa
commit 6a6af19ff8

View file

@ -2383,6 +2383,14 @@ gimp_blend_tool_editor_start_edit (GimpBlendTool *blend_tool)
info = gimp_blend_tool_editor_blend_info_new (blend_tool);
blend_tool->undo_stack = g_slist_prepend (blend_tool->undo_stack, info);
/* update the undo actions / menu items */
if (! blend_tool->flush_idle_id)
{
blend_tool->flush_idle_id =
g_idle_add ((GSourceFunc) gimp_blend_tool_editor_flush_idle,
blend_tool);
}
}
}