Tempo Change Plugin: please recognize "Return" key as Apply and ESC as cancel
This is easy enough (I did it in mine) and would reduce unexpected behavior.
This is easy enough (I did it in mine) and would reduce unexpected behavior.
Do you still have an unanswered question? Please log in first to post your question.
Comments
I'll be off for a few weeks, but logged in https://github.com/jeetee/MuseScore_TempoChanges/issues/17 to take it up when I return
In reply to I'll be off for a few weeks,… by jeetee
Is there a way I can change it (publicly), or only you can do that (3 lines need be added to the button definitions)? (I can make a private version for myself).
In reply to Is there a way I can change… by [DELETED] 1831606
You can't create a new release on my github for it; you could send a PR.
If that's not yet into your git-lingo, then post the three lines on the issue with a comment. I'll take a look this evening then to make it a patch release this evening.
In reply to You can't create a new… by jeetee
Yeah, I know of PR's (I was a Github user years ago). Here's my Text Field (which takes the focus). That has to be settled, too (which gets the focus).
TextField {
id: onTime
implicitHeight: 24
placeholderText: "0"
Keys.onReturnPressed : {
maybe_finish()
}
Keys.onEscapePressed : {
Qt.quit()
}
}
is QDialogButtonBox available to Qml? If so the translation and the platform dependant order comes for free
Just raised a PR
In reply to Just raised a PR by Maximilian Konrad
That (ESC/Enter active at all times) would be even better; I couldn't figure out how to do that.
In reply to That (ESC/Enter active at… by [DELETED] 1831606
Alright. Didn't know if this was wished. Will work on it :)
In reply to Alright. Didn't know if this… by Maximilian Konrad
"The times, they are a-changing." -- Dylan
In reply to Just raised a PR by Maximilian Konrad
Great minds.. wait equally long before fixing this :)
As mentioned on github, thank you for the contribution; looking forward to fixing it to work without focusing input fields as well.
Finally got around to it (with some help of that PR) and released updated versions. Seems to work for both MS2 and MS3 on my windows machine.