app: transform_tool - don't flush the image when display is NULL
it means the dialog is being deleted
This commit is contained in:
@ -1804,6 +1804,7 @@ gimp_transform_tool_response (GtkWidget *widget,
|
|||||||
gimp_tool_control (tool, GIMP_TOOL_ACTION_HALT, display);
|
gimp_tool_control (tool, GIMP_TOOL_ACTION_HALT, display);
|
||||||
|
|
||||||
/* update the undo actions / menu items */
|
/* update the undo actions / menu items */
|
||||||
|
if (display)
|
||||||
gimp_image_flush (gimp_display_get_image (display));
|
gimp_image_flush (gimp_display_get_image (display));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user