From befb871b6e1827d97cadf660e181010e5471c42f Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Fri, 16 May 2014 16:28:24 +0200 Subject: [PATCH] app: GimpOperationTool sync the op with drawable/context in reset() --- app/tools/gimpoperationtool.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/tools/gimpoperationtool.c b/app/tools/gimpoperationtool.c index 0e697af569..97cdd5e9d0 100644 --- a/app/tools/gimpoperationtool.c +++ b/app/tools/gimpoperationtool.c @@ -292,8 +292,10 @@ gimp_operation_tool_reset (GimpImageMapTool *image_map_tool) { GimpOperationTool *tool = GIMP_OPERATION_TOOL (image_map_tool); - if (tool->config) - gimp_config_reset (GIMP_CONFIG (tool->config)); + GIMP_IMAGE_MAP_TOOL_CLASS (parent_class)->reset (image_map_tool); + + if (tool->config && GIMP_TOOL (tool)->drawable) + gimp_operation_tool_sync_op (tool, GIMP_TOOL (tool)->drawable); } static GtkWidget *