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

lp1929141: Fix handling of preview button cell events #4264

Merged
merged 2 commits into from
Sep 7, 2021
Merged

lp1929141: Fix handling of preview button cell events #4264

merged 2 commits into from
Sep 7, 2021

Conversation

uklotzde
Copy link
Contributor

@uklotzde uklotzde commented Sep 5, 2021

Fixes https://bugs.launchpad.net/mixxx/+bug/1929141

  • Linearize the control flow
  • Delete an invalid debug assertion and explain why

No changelog entry, because this is not a user facing bug. Only annoying for developers.

- Linearize the control flow
- Delete an invalid debug assertion and explain why
@uklotzde uklotzde added this to the 2.3.1 milestone Sep 5, 2021
parentTableView()->closePersistentEditor(m_currentEditedCellIndex);
m_currentEditedCellIndex = QModelIndex();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now don't reset m_currentEditedCellIndex when leaving the cell is this intended?

Copy link
Contributor Author

@uklotzde uklotzde Sep 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, not intended: 64d1c73

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2nd try: bf77aa5

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need a 3rd try...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now all cases should be covered: 23590a4

@uklotzde
Copy link
Contributor Author

uklotzde commented Sep 7, 2021

Ping. Should be easy to review.

@daschuer
Copy link
Member

daschuer commented Sep 7, 2021

Looks good and works as desired. Thank you.

@daschuer daschuer merged commit 3568473 into mixxxdj:2.3 Sep 7, 2021
@uklotzde uklotzde deleted the previewbuttondelegate branch September 10, 2021 09:28
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.

2 participants