You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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 ;)
The text was updated successfully, but these errors were encountered:
Skaptor
changed the title
Closing documents to fast using mouse middle click
Closing documents using mouse middle click
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:
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 ;)
The text was updated successfully, but these errors were encountered: