Null check

This commit is contained in:
tastybento 2022-04-16 15:15:26 -07:00
parent e8b4129c3a
commit 44ad32df50
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ public abstract class CommonPagedPanel<T> extends CommonPanel
description.add("");
description.add(this.user.getTranslation(Constants.TIPS + "left-click-to-edit"));
if (!this.searchString.isEmpty())
if (this.searchString != null && !this.searchString.isEmpty())
{
description.add(this.user.getTranslation(Constants.TIPS + "right-click-to-clear"));
}