-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Preferences > Controller: a few UX fixes #10821
Conversation
ronso0
commented
Aug 25, 2022
•
edited
Loading
edited
- mark mapping dirty when I/O table was changed (those changes were wiped previously)
- prevent loop with empty name in 'Save as ...' dialog (saving couldn't be canceled after seleting Save As..)
- keep selected mapping when saving pending changes in previous mapping (info of selected mapping was displayed but in the combobox the previous mapping was selected)
this, | ||
[this]() { | ||
m_pMidiPreset->setDirty(true); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note that dataChanged()
is emitted also when an non/existing values are 'confirmed' with Return. IMO this is the only minor regression if users are not used to this default QAbstractItemView/QSpinBox/QTextEdit behaviour, though it's now consistent with the existing GUI (skins, preferences).
8bdf16f
to
057ad01
Compare
savePreset(); | ||
if (savePreset()) { | ||
// We might have saved the previous preset with a new name, | ||
// so update the preset combobox. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
... and select the mapping."
will !fixup once this change set is accepted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. anyone else willing to take a look?
@ferranpujolcamins maybe? |
LGTM, thank you |
I'll merge to main later this eve.. |