Skip to content

Commit

Permalink
[24954] fix NPE on archie SidebarView
Browse files Browse the repository at this point in the history
  • Loading branch information
huthomas committed Jan 3, 2024
1 parent 413dd29 commit 4668a6b
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,10 @@ public void setFocus() {
* @param enabled True if children should be enabled, false else.
*/
public void setEnabled(boolean enabled) {
this.list.setEnabled(enabled);
this.details.setEnabled(enabled);
if (this.list != null && this.details != null) {
this.list.setEnabled(enabled);
this.details.setEnabled(enabled);
}
}

/**
Expand Down

0 comments on commit 4668a6b

Please sign in to comment.