Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Give focus to the PianoRoll widget when its window is opened #1978

Merged
merged 1 commit into from
Apr 19, 2015

Conversation

Wallacoloo
Copy link
Member

This implements the feature requested in #1972. Whenever focus is given to the piano roll window (but not one of its children), focus is passed onto the actual piano roll widget too. This way, whenever the window bar is clicked, or when another part of the program calls gui->pianoRoll()->setFocus(), the actual piano roll widget will be able to receive keyboard events, etc.

This code could be applied to the BB and Automation Editors as well, but I didn't see any benefit to that at this point so I left it out for simplicity.

tresf added a commit that referenced this pull request Apr 19, 2015
Give focus to the PianoRoll widget when its window is opened
@tresf tresf merged commit d610759 into LMMS:master Apr 19, 2015
@Wallacoloo Wallacoloo deleted the pianorollfocus branch April 25, 2015 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants