Fix regression - ctrl to copy selection activates move tool

This commit is contained in:
Gaspar Capello 2021-04-08 19:49:40 -03:00
parent ae904428fa
commit bcaa12be11

View File

@ -879,7 +879,7 @@ bool KeyboardShortcuts::getCommandFromKeyMessage(const Message* msg, Command** c
tools::Tool* KeyboardShortcuts::getCurrentQuicktool(tools::Tool* currentTool)
{
if (currentTool && currentTool->getInk(0)->isSelection()) {
KeyPtr key = action(KeyAction::CopySelection);
KeyPtr key = action(KeyAction::CopySelection, KeyContext::TranslatingSelection);
if (key && key->isPressed())
return NULL;
}