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

Preferences > Controller: a few UX fixes #10821

Merged
merged 3 commits into from
Aug 30, 2022

Conversation

ronso0
Copy link
Member

@ronso0 ronso0 commented Aug 25, 2022

  • 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);
});
Copy link
Member Author

@ronso0 ronso0 Aug 29, 2022

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).

@ronso0 ronso0 force-pushed the pref-controller__2.3 branch from 8bdf16f to 057ad01 Compare August 29, 2022 20:27
savePreset();
if (savePreset()) {
// We might have saved the previous preset with a new name,
// so update the preset combobox.
Copy link
Member Author

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.

Copy link
Member

@Swiftb0y Swiftb0y left a 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?

@ronso0
Copy link
Member Author

ronso0 commented Aug 29, 2022

@ferranpujolcamins maybe?

@ferranpujolcamins
Copy link
Contributor

LGTM, thank you

@ferranpujolcamins ferranpujolcamins merged commit 8947421 into mixxxdj:2.3 Aug 30, 2022
@ronso0 ronso0 deleted the pref-controller__2.3 branch August 30, 2022 17:20
@ronso0
Copy link
Member Author

ronso0 commented Aug 30, 2022

I'll merge to main later this eve..

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