mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-29 09:23:32 +00:00
Fix problem using Alt+mnemonic when the focus is inside a Entry widget.
This commit is contained in:
parent
8a1295c025
commit
44856735be
@ -241,7 +241,11 @@ bool Entry::onProcessMessage(Message* msg)
|
||||
|
||||
default:
|
||||
if (msg->key.ascii >= 32) {
|
||||
cmd = EntryCmd::InsertChar;
|
||||
// Ctrl and Alt must be unpressed to insert a character
|
||||
// in the text-field.
|
||||
if ((msg->any.shifts & (KB_CTRL_FLAG | KB_ALT_FLAG)) == 0) {
|
||||
cmd = EntryCmd::InsertChar;
|
||||
}
|
||||
}
|
||||
else {
|
||||
// map common Windows shortcuts for Cut/Copy/Paste
|
||||
|
Loading…
Reference in New Issue
Block a user