Skip to content

Commit

Permalink
Fixes NPE in SourceAndConverterListWidget
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoKiaru committed Jul 15, 2024
1 parent 3ab1eeb commit aa5969a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ protected void doRefresh() {}

@Override
public boolean supports(final WidgetModel model) {
if (model.getItem().getWidgetStyle().contains("sorted")) return false;
if (model.getItem().getWidgetStyle()!=null) {
if (model.getItem().getWidgetStyle().contains("sorted")) return false;
}
return super.supports(model) && model.isType(SourceAndConverter[].class);
}

Expand Down

0 comments on commit aa5969a

Please sign in to comment.