Fix problem with ENTER key to drop the pixels.

This commit is contained in:
David Capello 2012-02-11 16:34:55 -03:00
parent 0d582f9d5f
commit c359e8585e

View File

@ -298,6 +298,8 @@ bool MovingPixelsState::onKeyDown(Editor* editor, Message* msg)
Command* cmd = CommandsModule::instance()->getCommandByName(CommandId::DeselectMask); Command* cmd = CommandsModule::instance()->getCommandByName(CommandId::DeselectMask);
UIContext::instance()->executeCommand(cmd); UIContext::instance()->executeCommand(cmd);
} }
return true;
} }
// Use StandbyState implementation // Use StandbyState implementation