mirror of
https://github.com/aseprite/aseprite.git
synced 2024-10-05 06:20:10 +00:00
SelectAccelerator: Focus the KeyField after any modification is done
E.g. if a modifier checkbox is pressed, we want the keyboard focus back to the KeyField (which is the only interesting field)
This commit is contained in:
parent
8514f02ee4
commit
83ee0bf45d
@ -127,6 +127,7 @@ void SelectAccelerator::onModifierChange(KeyModifiers modifier, CheckBox* checkb
|
||||
m_accel = Accelerator(modifiers, scancode, unicodeChar);
|
||||
|
||||
m_keyField->setAccel(m_accel);
|
||||
m_keyField->requestFocus();
|
||||
updateAssignedTo();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user