Fix a preview update related segfault
This commit is contained in:
parent
6a22f17ab3
commit
6ecb219c4f
1 changed files with 6 additions and 0 deletions
|
|
@ -250,6 +250,12 @@ gimp_cage_tool_halt (GimpCageTool *ct)
|
|||
|
||||
if (ct->image_map)
|
||||
{
|
||||
|
||||
if (ct->idle_id > 0)
|
||||
{
|
||||
g_source_remove(ct->idle_id);
|
||||
ct->idle_id = 0;
|
||||
}
|
||||
gimp_tool_control_set_preserve (tool->control, TRUE);
|
||||
|
||||
gimp_image_map_abort (ct->image_map);
|
||||
|
|
|
|||
Loading…
Reference in a new issue