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

Changed how the next active document is picked on document close. #436

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

fredriks123
Copy link

When there's a single document in a floating window like this:

image

..and you close that document, the next active document becomes Document 2 which changes the selected document in the other pane. Expected behavior is that Document 1 remains the selected document and becomes active.

The implementation uses the global index of the closing document and tries to set the document at index - 1 to active, regardless of the containers.

@heartacker
Copy link

great

@Dirkster99 Dirkster99 merged commit 04f358a into Dirkster99:master Aug 16, 2023
@fredriks123 fredriks123 deleted the Issue_434 branch August 27, 2023 18:38
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.

3 participants