warp tool: fix commiting the deformation not working

This commit is contained in:
Michael Muré 2011-08-01 19:04:57 +02:00 committed by Michael Natterer
parent afa98e6ece
commit 6abf634189
1 changed files with 1 additions and 1 deletions

View File

@ -271,9 +271,9 @@ gimp_warp_tool_key_press (GimpTool *tool,
switch (kevent->keyval) switch (kevent->keyval)
{ {
case GDK_KEY_BackSpace: case GDK_KEY_BackSpace:
case GDK_KEY_Return:
return TRUE; return TRUE;
case GDK_KEY_Return:
case GDK_KEY_KP_Enter: case GDK_KEY_KP_Enter:
case GDK_KEY_ISO_Enter: case GDK_KEY_ISO_Enter:
gimp_tool_control_set_preserve (tool->control, TRUE); gimp_tool_control_set_preserve (tool->control, TRUE);