Skip to content

Gui/DopeSheet: add parent QModelIndex #1053

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

Open
wants to merge 1 commit into
base: RB-2.6
Choose a base branch
from

Conversation

rodlie
Copy link
Contributor

@rodlie rodlie commented Jun 3, 2025

Should fix issue #1052

@rodlie rodlie linked an issue Jun 3, 2025 that may be closed by this pull request
10 tasks
@@ -143,7 +143,7 @@ HierarchyViewSelectionModel::selectChildren(const QModelIndex &index,
}

++row;
childIndex = index.model()->index(row, 0);
childIndex = index.model()->index(row, 0, index);
Copy link
Member

Choose a reason for hiding this comment

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

Is this equivalent to childIndex = childIndex.siblingRow(row); ? If so, maybe use this instead since looks a little more like an iterator?

I don't have a strong opinion on this so if you prefer what you have here and below that is fine by me.

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.

(Bug): Dopesheet crashes when clicking item in the hierarchy view
2 participants