Skip to content

Conversation

@jeremypw
Copy link
Collaborator

@jeremypw jeremypw commented Feb 8, 2025

Fixes #1536

For empty temporary documents, async code intended to be called once for a closing document was being called twice. For obscure reasons this lead to the n_pages property of Hdy.TabView becoming different from the actual number of pages and hence the issue.

An existing private flag was made public and used to prevent the responsible code being called twice.

@jeremypw jeremypw requested a review from a team February 8, 2025 16:40
@jeremypw jeremypw merged commit 46258fa into master Feb 8, 2025
4 of 6 checks passed
@jeremypw jeremypw deleted the jeremypw/open-after-close-unnamed branch February 8, 2025 17:05
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.

Cannot open docs after opening and closing a new document

3 participants