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,7 +1804,8 @@ gimp_transform_tool_response (GtkWidget *widget,
|
||||
gimp_tool_control (tool, GIMP_TOOL_ACTION_HALT, display);
|
||||
|
||||
/* update the undo actions / menu items */
|
||||
gimp_image_flush (gimp_display_get_image (display));
|
||||
if (display)
|
||||
gimp_image_flush (gimp_display_get_image (display));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user