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:
Jehan 2013-09-21 20:43:11 +12:00
parent 3838a8cebb
commit 5e331e1d25
1 changed files with 1 additions and 1 deletions

View File

@ -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);