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

New tabs after current focus Bug Fix for issue #1704 #1719

Merged

Conversation

Shivam-Parekh
Copy link
Contributor

@Shivam-Parekh Shivam-Parekh commented May 16, 2024

Description

Fix of a bug found in #1715.
The bug occurred where opening up a side window of a file and closing that side windowed file caused an exception. This occurred due to returning the function to early with in the guard. The fix switched the guard to an if else statement to allow the rest of the function to run on that occurrence.
Issue:

Related Issues

Checklist

  • I read and understood the contributing guide as well as the code of conduct
  • The issues this PR addresses are related to each other
  • My changes generate no new warnings
  • My code builds and runs on my machine
  • My changes are all related to the related issue above
  • I documented my code

Screenshots

Before:
https://github.com/CodeEditApp/CodeEdit/assets/27977043/c4a9abe9-09cb-45ee-915d-d6c3963f08d0

Fix:
https://github.com/CodeEditApp/CodeEdit/assets/27977043/3fbe7b5e-272a-408d-8804-ffbed2d98705

changed tab append to tab insert at index after selected tab
Fixed issue where tab deleted tab next to it.
Fixed issue where closing a file on the side window caused an error.
thecoolwinter
thecoolwinter previously approved these changes May 16, 2024
@thecoolwinter
Copy link
Collaborator

Resolve conflicts and this can be merged

@austincondiff austincondiff merged commit 60e4b4f into CodeEditApp:main May 16, 2024
2 checks passed
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

4 participants