Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@zdomke
Copy link
Collaborator

@zdomke zdomke commented Sep 6, 2024

This PR does 2 things:

  1. Fixes a bug in EditorDelegate:
    a. When implementing a QStyledItemDelegate, I forgot to reimplement the method updateEditorGeometry. Without this function, the editors don't update properly on dataChanged signals. This should solve some problems I've been having with the delegates
  2. ComboBoxDelegate to subclass EditorDelegate:
    a. All other delegates subclass EditorDelegate already
    b. Avoided setting up ComboBoxDelegate this way because it seemed to cause issues in initial testing, turns out it was just the bug with EditorDelegate that is mentioned above and fixed

@zdomke zdomke requested a review from YektaY September 6, 2024 18:28
Copy link
Collaborator

@YektaY YektaY left a comment

Choose a reason for hiding this comment

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

looks good!

@YektaY YektaY merged commit 96629ec into slaclab:main Sep 6, 2024
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