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:
parent
ac983d99fa
commit
6a6af19ff8
1 changed files with 8 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue