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

Closing documents using mouse middle click #315

Closed
Skaptor opened this issue Dec 17, 2021 · 0 comments
Closed

Closing documents using mouse middle click #315

Skaptor opened this issue Dec 17, 2021 · 0 comments

Comments

@Skaptor
Copy link
Contributor

Skaptor commented Dec 17, 2021

MY app is using a relatively slow datagrid to show some data. I found out that if I close many documents in a fast manner, the app crashes. Upon further investigation the MouseDown override on LayoutDocumentTabItem is the issue.

I propose adding a null check for the Layout item as shown in the image below:

image

I don't know what can cause the laylout item to be null at that given point in time.

Any suggestions are appreciated. I will place a PR in these days if @Dirkster99 approves ;)

@Skaptor Skaptor changed the title Closing documents to fast using mouse middle click Closing documents using mouse middle click Dec 17, 2021
@Skaptor Skaptor closed this as completed Jan 4, 2022
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

No branches or pull requests

1 participant