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

Tab reorder + deleted files = wrong tab names fix! #225

Merged
merged 1 commit into from
Dec 26, 2020

Conversation

eteran
Copy link
Owner

@eteran eteran commented Dec 26, 2020

weird bug! When a new tab causes a reordering AND a focus event will trigger a "save/cancel" dialog

(such as when files have been deleted) that are tabs without focus right now)
we can end up with the wrong names on tabs!

so we sort BEFORE we update the tab state just to be sure everything is in the right spots!

Fixes issue #224

…trigger a "save/cancel" dialog

(such as when files have been deleted) that are tabs without focus right now)
we can end up with the wrong names on tabs!

so we sort BEFORE we update the tab state just to be sure everything is in the right spots!

Fixes issue #224
@eteran eteran mentioned this pull request Dec 26, 2020
@eteran eteran merged commit 8ae0bc3 into master Dec 26, 2020
@eteran eteran deleted the fix-wrong-tab-names branch December 27, 2020 22:03
1div0 pushed a commit to 1div0/nedit-ng that referenced this pull request Dec 29, 2020
…trigger a "save/cancel" dialog (eteran#225)

(such as when files have been deleted) that are tabs without focus right now)
we can end up with the wrong names on tabs!

so we sort BEFORE we update the tab state just to be sure everything is in the right spots!

Fixes issue eteran#224
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.

1 participant