fix some bugs

* NPE when stream contains no transactions and hence no attributes
* changed sash hierarchy in waveform pane
This commit is contained in:
2020-11-24 16:20:08 +01:00
parent 184f1b2d2c
commit ded10e1c22
9 changed files with 27 additions and 20 deletions

View File

@ -273,8 +273,8 @@ public class TransactionList extends Composite {
tableViewer.setInput(eventList);
attrNames.clear();
attrNames.addAll(getEntries());
searchPropComboViewer.getCombo().select(0);
txFilter.setSearchProp(attrNames.get(0).getName(), attrNames.get(0).getType());
if(attrNames.size()>0)
txFilter.setSearchProp(attrNames.get(0).getName(), attrNames.get(0).getType());
if (searchPropComboViewer!=null) {
searchPropComboViewer.setInput(attrNames);
searchPropComboViewer.setSelection(new StructuredSelection(searchPropComboViewer.getElementAt(0)));