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

Improve tab behavior when in special folders #571

Merged
merged 1 commit into from
Apr 12, 2020

Conversation

jeffsieu
Copy link
Contributor

Compares the start of the folder path with the special folder paths, instead of a direct comparison. This allows for nested folders to be recognized as part of the "special folders" as well.

Also fixes a spelling error "Naviagtion" and removes extraneous assignment of SidebarSelectedItem which is already done in the set function of WorkingDirectory.

image

Resolves #525

This compares the start of current folder path with
the special folder paths, thus allowing nested folders
to still be correctly detected as Pictures or Music folders

Also fixes a mild spelling error
@lukeblevins lukeblevins self-requested a review April 11, 2020 19:13
Copy link
Contributor

@lukeblevins lukeblevins 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! Thank you @jeffsieu

@yaira2 yaira2 merged commit bb47fd5 into files-community:develop Apr 12, 2020
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