app: clear tentative gradient when halting the blend tool

Currently, it should already be cleared at this point, but still.
This commit is contained in:
Ell 2017-10-11 05:55:36 -04:00
parent 5a8033151f
commit 862bb00478
1 changed files with 2 additions and 0 deletions

View File

@ -637,6 +637,8 @@ gimp_blend_tool_halt (GimpBlendTool *blend_tool)
gimp_image_flush (gimp_display_get_image (tool->display));
}
gimp_blend_tool_set_tentative_gradient (blend_tool, NULL);
g_signal_handlers_disconnect_by_func (context,
G_CALLBACK (gimp_blend_tool_fg_bg_changed),
blend_tool);