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 insert column crash without a column selected #1344

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

manongjohn
Copy link
Collaborator

This PR fixes #1319

Some column operations like Fold Column and Delete cause the selected column list to be cleared. When you attempt an Insert column without a selected column, the logic didn't account for this and crashed.

Added logic to find the current column focus, outlined in cyan, and use that as the insert point. Still added logic to ignore the insert action if for some reason a current column still could not be found.

@manongjohn manongjohn added the 1.4.1 Included in Version 1.4.1 label Jan 13, 2024
@manongjohn manongjohn merged commit 710a454 into tahoma2d:master Jan 19, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.4.1 Included in Version 1.4.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash when trying to apply the "&Insert" option to a folded column.
1 participant