diff options
-rw-r--r-- | plugins/org.eclipse.osee.ote.ui.test.manager/src/org/eclipse/osee/ote/ui/test/manager/core/TestManagerEditor.java | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.ote.ui.test.manager/src/org/eclipse/osee/ote/ui/test/manager/core/TestManagerEditor.java b/plugins/org.eclipse.osee.ote.ui.test.manager/src/org/eclipse/osee/ote/ui/test/manager/core/TestManagerEditor.java index 0d6a01df1e7..6d9c930cf35 100644 --- a/plugins/org.eclipse.osee.ote.ui.test.manager/src/org/eclipse/osee/ote/ui/test/manager/core/TestManagerEditor.java +++ b/plugins/org.eclipse.osee.ote.ui.test.manager/src/org/eclipse/osee/ote/ui/test/manager/core/TestManagerEditor.java @@ -402,6 +402,7 @@ public abstract class TestManagerEditor extends MultiPageEditorPart implements I } } } + doSave(null); lastPageIndex = newPageIndex; } @@ -477,9 +478,11 @@ public abstract class TestManagerEditor extends MultiPageEditorPart implements I InputStream inputStream = null; try { File file = OseeData.getFile("testManagerSettings.xml"); - inputStream = new FileInputStream(file); - getPropertyStore().load(inputStream); - pageManager.restore(); + if(file.exists()){ + inputStream = new FileInputStream(file); + getPropertyStore().load(inputStream); + pageManager.restore(); + } } catch (Exception ex) { TestManagerPlugin.log(Level.WARNING, "Stored settings not available. Using defaults.", ex); } finally { |