diff --git a/src/PamModel/PamModel.java b/src/PamModel/PamModel.java index ff425f38..0dfd96c6 100644 --- a/src/PamModel/PamModel.java +++ b/src/PamModel/PamModel.java @@ -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); } /* diff --git a/src/PamView/panel/SplitPanePositioner.java b/src/PamView/panel/SplitPanePositioner.java index 32642bde..88216149 100644 --- a/src/PamView/panel/SplitPanePositioner.java +++ b/src/PamView/panel/SplitPanePositioner.java @@ -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;