Alt+backspace deletes a word too on ui::Entry fields

This commit is contained in:
David Capello 2020-05-12 15:11:15 -03:00
parent 68720424c0
commit 7cde901047

View File

@ -320,7 +320,7 @@ bool Entry::onProcessMessage(Message* msg)
break;
case kKeyBackspace:
if (msg->ctrlPressed())
if (msg->ctrlPressed() || msg->altPressed())
cmd = EntryCmd::DeleteBackwardWord;
else
cmd = EntryCmd::DeleteBackward;