Apply strong focus policy to joystick mapping button as well. Fixes #1491
This commit is contained in:
parent
98903f8076
commit
2ba7f961a6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue