Skip to content

PropertyGrid throws NullReferenceException #613

Closed

Description

@qrai

Describe the bug
When i click on sorting buttons in PropertyGrid without selected object it throws NullReferenceException. Please add null-safety.

To Reproduce
Steps to reproduce the behavior:

  1. Add PropertyGrid control
  2. Set SelectedObject to null
  3. Click on some sorting button

Expected behavior
When selected object is null, sorting buttons should just do nothing, not throw exception.

UPD: Also searchbar is going to throw exception if you will try to type something

Activity

  1. added a commit that references this issue on Mar 28, 2024
    630f888
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ 换网址