这是indexloc提供的服务,不要输入任何密码
Skip to content

Closing documents using mouse middle click #315

@Skaptor

Description

@Skaptor

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 ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions