mirror of https://github.com/GNOME/gimp.git
Make the checks in GimpTool::initialize() work reliably
Set tool->display and tool->drawable to NULL in button_release() so initialize() is actually called before each button_press().
This commit is contained in:
parent
cb8a611e93
commit
c9c28be9df
|
@ -260,6 +260,9 @@ gimp_blend_tool_button_release (GimpTool *tool,
|
|||
|
||||
gimp_image_flush (image);
|
||||
}
|
||||
|
||||
tool->display = NULL;
|
||||
tool->drawable = NULL;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue