mirror of https://github.com/GNOME/gimp.git
Bug 708517: Assertion on cage tool commit with ENTER + fix cage completion with ENTER.
The key press handler must return TRUE on successfully processing the key, otherwise the handler ends up being run several times.
This commit is contained in:
parent
3838a8cebb
commit
5e331e1d25
|
@ -438,7 +438,7 @@ gimp_cage_tool_key_press (GimpTool *tool,
|
|||
|
||||
gimp_tool_control (tool, GIMP_TOOL_ACTION_HALT, display);
|
||||
}
|
||||
break;
|
||||
return TRUE;
|
||||
|
||||
case GDK_KEY_Escape:
|
||||
gimp_tool_control (tool, GIMP_TOOL_ACTION_HALT, display);
|
||||
|
|
Loading…
Reference in New Issue