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

Select correct notebook tab after closing while filtered #4770

Merged
merged 7 commits into from
Sep 10, 2023

Conversation

dnsge
Copy link
Contributor

@dnsge dnsge commented Aug 16, 2023

Description

Currently, if you are using Live Tabs Only, default Ctrl+Shift+L keybind, closing tabs will reveal tabs that are not supposed to be visible. This PR adjusts the "determine which tab to select after closing the current tab" algorithm.

before.mov
after.mov

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

src/widgets/Notebook.cpp Show resolved Hide resolved
src/widgets/Notebook.cpp Show resolved Hide resolved
src/widgets/Notebook.cpp Show resolved Hide resolved
src/widgets/Notebook.cpp Show resolved Hide resolved
src/widgets/Notebook.cpp Outdated Show resolved Hide resolved
src/widgets/Notebook.cpp Outdated Show resolved Hide resolved
@pajlada pajlada self-assigned this Aug 19, 2023
@pajlada pajlada self-requested a review August 19, 2023 12:08
@pajlada pajlada added the Waiting for review PR bounced back to reviewer label Aug 19, 2023
@pajlada pajlada added this to the Post 2.4.5 milestone Aug 19, 2023
@pajlada pajlada enabled auto-merge (squash) September 10, 2023 10:04
@pajlada pajlada merged commit 1b9ee93 into Chatterino:master Sep 10, 2023
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Waiting for review PR bounced back to reviewer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants