mirror of
https://github.com/PAMGuard/PAMGuard.git
synced 2024-11-21 22:52:22 +00:00
click Offline toolbar
Make it show option to show only event clicks even if there are no click classifications
This commit is contained in:
parent
fc9c70ad78
commit
d27e4fb19f
@ -164,15 +164,14 @@ public class OfflineToolbar {
|
||||
return;
|
||||
}
|
||||
String[] speciesList = clickId.getSpeciesList();
|
||||
if (speciesList == null || speciesList.length == 0) {
|
||||
return;
|
||||
}
|
||||
speciesButtons = new JCheckBox[speciesList.length];
|
||||
for (int i = 0; i < speciesList.length; i++) {
|
||||
speciesButtons[i] = new SpeciesCheckBox(speciesList[i] + space);
|
||||
c.gridx++;
|
||||
speciesBar.add(speciesButtons[i]);
|
||||
speciesButtons[i].addActionListener(showClicks);
|
||||
if (speciesList != null) {
|
||||
speciesButtons = new JCheckBox[speciesList.length];
|
||||
for (int i = 0; i < speciesList.length; i++) {
|
||||
speciesButtons[i] = new SpeciesCheckBox(speciesList[i] + space);
|
||||
c.gridx++;
|
||||
speciesBar.add(speciesButtons[i]);
|
||||
speciesButtons[i].addActionListener(showClicks);
|
||||
}
|
||||
}
|
||||
c.gridx++;
|
||||
speciesBar.add(andOrSelection = new JComboBox<String>());
|
||||
|
Loading…
Reference in New Issue
Block a user