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

Fix opening tabs on files (regression from fe7c3b2 remove-duplicate-tabs-on-startup) #2901

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eMPee584
Copy link
Contributor

When starting ranger with files as command line arguments, it started to behave strangely after merge of #2724.. Fortunately an easy fix it seems 😀

Test case shown is starting ranger ranger/core/main.py ranger/container/settings.py ranger/core/actions.py ranger/gui/widgets/titlebar.py within the source directory, then switching to the 2nd tab (1st is correct).

Without this patch:
ranger-file-in-tab-borked
With patch applied:
ranger-file-in-tab-fixed

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.

None yet

1 participant