mirror of
https://github.com/PAMGuard/PAMGuard.git
synced 2024-11-22 07:02:29 +00:00
CTD Fixes
Couple more fixes to menus and datablock selection
This commit is contained in:
parent
c641c58e4f
commit
4b3a37636b
2
pom.xml
2
pom.xml
@ -4,7 +4,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.pamguard</groupId>
|
||||
<artifactId>Pamguard</artifactId>
|
||||
<version>2.02.04d</version>
|
||||
<version>2.02.04f</version>
|
||||
<name>Pamguard Java12+</name>
|
||||
<description>Pamguard for Java 12+, using Maven to control dependcies</description>
|
||||
<url>www.pamguard.org</url>
|
||||
|
@ -94,7 +94,7 @@ public class CTSwingGUI extends PamControlledGUISwing {
|
||||
|
||||
@Override
|
||||
public JMenuItem createDetectionMenu(Frame parentFrame) {
|
||||
JMenu submenu = new JMenu("Click Train Detector");
|
||||
JMenu submenu = new JMenu(clickTrainControl.getUnitName());
|
||||
|
||||
JMenuItem menuItem = new JMenuItem("Detection Settings ...");
|
||||
|
||||
|
@ -511,7 +511,7 @@ public class ClickTrainAlgorithmPaneFX extends SettingsPane<ClickTrainParams> {
|
||||
|
||||
// and fill in the data source list (may have changed - or might in later versions)
|
||||
ArrayList<PamDataBlock> rd = PamController.getInstance().getDataBlocks(ClickDetection.class, true);
|
||||
PamDataBlock datablock = PamController.getInstance().getRawDataBlock(clickTrainParams.dataSourceName);
|
||||
PamDataBlock datablock = PamController.getInstance().getDataBlockByLongName(clickTrainParams.dataSourceName);
|
||||
|
||||
//use the data selector.
|
||||
dataSelectorCheckBox.setSelected(clickTrainParams.useDataSelector);
|
||||
|
Loading…
Reference in New Issue
Block a user