BWindow: fix Quit shortcut, uppercase the inputted key
Change-Id: Ic6c80fc0cce033bcffcd7f0934a9ecf7f6825c00 Reviewed-on: https://review.haiku-os.org/c/haiku/+/9521 Reviewed-by: X512 X512 <[email protected]> Reviewed-by: waddlesplash <[email protected]> Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
6929e96086
commit
24f4871106
@@ -3632,7 +3632,7 @@ BWindow::_HandleKeyDown(BMessage* event)
|
||||
if (event->FindString("bytes", &bytes) != B_OK)
|
||||
return false;
|
||||
|
||||
char key = bytes[0];
|
||||
char key = Shortcut::PrepareKey(bytes[0]);
|
||||
|
||||
uint32 modifiers;
|
||||
if (event->FindInt32("modifiers", (int32*)&modifiers) != B_OK)
|
||||
|
||||
Reference in New Issue
Block a user