mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-21 13:20:57 -06:00
Apply strong focus policy to joystick mapping button as well. Fixes #1491
This commit is contained in:
@ -163,6 +163,7 @@ public:
|
||||
|
||||
setCheckable(true);
|
||||
setText(mappingText());
|
||||
setFocusPolicy(Qt::StrongFocus); //Fixes binding keys in macOS
|
||||
|
||||
connect(this, &JoyMapButton::clicked, this, &JoyMapButton::onClick);
|
||||
|
||||
@ -354,4 +355,4 @@ private:
|
||||
int axesRest[16];
|
||||
};
|
||||
|
||||
#endif // MAPBUTTON_H
|
||||
#endif // MAPBUTTON_H
|
||||
|
Reference in New Issue
Block a user