Skip to content

(fix) Controller preferences: make Enabled checkbox clickable again#14354

Merged
Swiftb0y merged 1 commit intomixxxdj:mainfrom
ronso0:controller-pref-enabled-checkbox
Feb 24, 2025
Merged

(fix) Controller preferences: make Enabled checkbox clickable again#14354
Swiftb0y merged 1 commit intomixxxdj:mainfrom
ronso0:controller-pref-enabled-checkbox

Conversation

@ronso0
Copy link
Copy Markdown
Member

@ronso0 ronso0 commented Feb 16, 2025

Since #14006 both the Enabled checkbox and the 'Load mapping:' label are in the same cell of the QGridLayout.
The issue is: click events don't reach the checkbox anymore.

This can be fixed by putting the checkbox after the label in the ui file (ie. on top of the label, see first commit), but the better fix is to put both in a QHBoxLayout (fixup commit) since that also prevents checkbox / label overlap.

Is this actually an issue for anyone else? I'm building with Qt 6.2.3
If yes, does the first fix work you? (just curious, the QHBoxLayout should be merged)

@JoergAtGithub
Copy link
Copy Markdown
Member

Tested this and it works as expected! Thank you for the fix, I didn't noticed it until now.

@ronso0 ronso0 force-pushed the controller-pref-enabled-checkbox branch from 650210e to 67ffd97 Compare February 24, 2025 20:49
@ronso0
Copy link
Copy Markdown
Member Author

ronso0 commented Feb 24, 2025

Squashed, ready for merge.

@Swiftb0y Swiftb0y merged commit a13e63a into mixxxdj:main Feb 24, 2025
@ronso0 ronso0 deleted the controller-pref-enabled-checkbox branch February 24, 2025 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants