From c359e8585ead82b8bcbb69e680f0f08cd19b9206 Mon Sep 17 00:00:00 2001 From: David Capello Date: Sat, 11 Feb 2012 16:34:55 -0300 Subject: [PATCH] Fix problem with ENTER key to drop the pixels. --- src/widgets/editor/moving_pixels_state.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/widgets/editor/moving_pixels_state.cpp b/src/widgets/editor/moving_pixels_state.cpp index 172d3a4fd..88e310c3c 100644 --- a/src/widgets/editor/moving_pixels_state.cpp +++ b/src/widgets/editor/moving_pixels_state.cpp @@ -298,6 +298,8 @@ bool MovingPixelsState::onKeyDown(Editor* editor, Message* msg) Command* cmd = CommandsModule::instance()->getCommandByName(CommandId::DeselectMask); UIContext::instance()->executeCommand(cmd); } + + return true; } // Use StandbyState implementation