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

Do not let files steal focus from commit list #406

Merged

Conversation

codeschrat
Copy link
Contributor

This addresses #382

The issues seems to be solved by deleting setFocus() in DoubleTreeWidget::filesSelected().
I don't see any reason to set the focus explicitly: The tree view should get focus when selecting a file -- this is done by clicking the view; hence, it automatically gets focus. But there is no reason the view gets focus accidentally when changing the file selection by selecting a commit from commit list; focus should stay in commit list.

Copy link
Collaborator

@exactly-one-kas exactly-one-kas left a comment

Choose a reason for hiding this comment

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

Looks good to me
@Murmele is this fine by you?

@exactly-one-kas exactly-one-kas added the bug Something isn't working label Dec 22, 2022
@Murmele
Copy link
Owner

Murmele commented Dec 29, 2022

yes looks fine to me. Thank you!

@Murmele Murmele merged commit 8580fd8 into Murmele:master Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants