mirror of
https://github.com/PAMGuard/PAMGuard.git
synced 2024-11-22 07:02:29 +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;
|
return;
|
||||||
}
|
}
|
||||||
String[] speciesList = clickId.getSpeciesList();
|
String[] speciesList = clickId.getSpeciesList();
|
||||||
if (speciesList == null || speciesList.length == 0) {
|
if (speciesList != null) {
|
||||||
return;
|
speciesButtons = new JCheckBox[speciesList.length];
|
||||||
}
|
for (int i = 0; i < speciesList.length; i++) {
|
||||||
speciesButtons = new JCheckBox[speciesList.length];
|
speciesButtons[i] = new SpeciesCheckBox(speciesList[i] + space);
|
||||||
for (int i = 0; i < speciesList.length; i++) {
|
c.gridx++;
|
||||||
speciesButtons[i] = new SpeciesCheckBox(speciesList[i] + space);
|
speciesBar.add(speciesButtons[i]);
|
||||||
c.gridx++;
|
speciesButtons[i].addActionListener(showClicks);
|
||||||
speciesBar.add(speciesButtons[i]);
|
}
|
||||||
speciesButtons[i].addActionListener(showClicks);
|
|
||||||
}
|
}
|
||||||
c.gridx++;
|
c.gridx++;
|
||||||
speciesBar.add(andOrSelection = new JComboBox<String>());
|
speciesBar.add(andOrSelection = new JComboBox<String>());
|
||||||
|
Loading…
Reference in New Issue
Block a user