Skip to content

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

Merged
Dirkster99 merged 1 commit intoDirkster99:masterfrom
fredriks123:Issue_434
Aug 16, 2023
Merged

Changed how the next active document is picked on document close.#436
Dirkster99 merged 1 commit intoDirkster99:masterfrom
fredriks123:Issue_434

Conversation

@fredriks123
Copy link
Copy Markdown

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
Copy Markdown

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