Skip to content

Commit

Permalink
ignore null or empty ticker symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
OnkelDok authored and buchen committed Sep 15, 2023
1 parent b955caa commit 13fb370
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -136,7 +136,8 @@ public void createControl(Composite parent)

resultTable.addSelectionChangedListener(event -> {
item = (ResultItem) ((IStructuredSelection) event.getSelection()).getFirstElement();
setPageComplete(item != null && !existingSymbols.contains(item.getSymbol()));
setPageComplete(item != null && (item.getSymbol() == null || item.getSymbol().isEmpty()
|| !existingSymbols.contains(item.getSymbol())));
});

setControl(container);
Expand Down

0 comments on commit 13fb370

Please sign in to comment.