Skip to content

Prevent containerChanged from collapsing an entire container tree#2888

Merged
j9ac9k merged 1 commit intopyqtgraph:masterfrom
UsYer:patch-1
Feb 14, 2024
Merged

Prevent containerChanged from collapsing an entire container tree#2888
j9ac9k merged 1 commit intopyqtgraph:masterfrom
UsYer:patch-1

Conversation

@UsYer
Copy link
Copy Markdown
Contributor

@UsYer UsYer commented Nov 23, 2023

In #2887 it was observed that this line removes the container tree mid-construction if there is only one dock in a container. Preventing propagation here fixes that problem.

I'm not sure if this causes other issues that I can't see from my limited knowledge of the code base.
Maybe someone knows more and can judge if this change is safe.

Fixes #2887

In pyqtgraph#2887 it was observed that this line removes the container tree mid-construction if there is only one dock in a container.
Preventing propagation here Fixes pyqtgraph#2887
@j9ac9k
Copy link
Copy Markdown
Member

j9ac9k commented Feb 14, 2024

Thanks for the PR @UsYer Sorry it took me so long to get to this. Diff LGTM, merging.

@j9ac9k j9ac9k merged commit e9c65d9 into pyqtgraph:master Feb 14, 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.

Dock restoreState fails silently if a dock object is the only item in a V- or HContainer

2 participants