grand exchange plugin: Clear render on empty string

Before:
![Blank GE search render bug](https://user-images.githubusercontent.com/2199511/42140211-7ecfe060-7d8b-11e8-937b-66545553a42f.gif)

After:
![Blank GE search render bug fixed](https://user-images.githubusercontent.com/2199511/42140213-80a265f2-7d8b-11e8-9b29-1d558ffbcc54.gif)
This commit is contained in:
Jordan Atwood
2018-07-01 17:04:16 -07:00
parent 80657e1f52
commit 31862e3b5c

View File

@@ -184,6 +184,7 @@ class GrandExchangeSearchPanel extends JPanel
if (Strings.isNullOrEmpty(lookup))
{
searchItemsPanel.removeAll();
SwingUtilities.invokeLater(searchItemsPanel::updateUI);
return;
}