Merge pull request #57 from PAMGuard/main

merge from main
This commit is contained in:
Douglas Gillespie 2024-01-18 09:39:55 +00:00 committed by GitHub
commit efdf17f651
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 2 deletions

View File

@ -471,6 +471,7 @@ final public class PamModel implements PamSettings {
mi.setToolTipText("Interface to Tethys Database");
mi.setModulesMenuGroup(utilitiesGroup);
mi.setMaxNumber(1);
mi.setHidden(SMRUEnable.isEnable() == false);
}
/*

View File

@ -61,7 +61,7 @@ public class SplitPanePositioner implements PamSettings {
@Override
public Serializable getSettingsReference() {
System.out.printf("Save split position %s as %d out of %d\n", unitName, splitPane.getDividerLocation(), splitPane.getHeight());
// System.out.printf("Save split position %s as %d out of %d\n", unitName, splitPane.getDividerLocation(), splitPane.getHeight());
double propPosition = (double) splitPane.getDividerLocation() / (double) splitPane.getHeight();
SplitPanePositionData posData = new SplitPanePositionData(splitPane.getDividerLocation(), propPosition, splitPane.getHeight());
return posData;

View File

@ -2589,7 +2589,7 @@ PamSettingsSource, DataOutputStore {
}
return state;
}
public String getDataLocation() {
return binaryStoreSettings.getStoreLocation();
}