Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormegumi.telles2017-09-20 15:58:42 -0400
committermegumi.telles2017-09-20 15:58:42 -0400
commit1ba2c7852e3d68bf06a169b51b207754972e4ac9 (patch)
treeac899c1e91ac8c2b68e8a5c860504cdb93cd18da
parentea21c9fbc320c38a6d6b1175337ce5406303fb34 (diff)
downloadorg.eclipse.osee-1ba2c7852e3d68bf06a169b51b207754972e4ac9.tar.gz
org.eclipse.osee-1ba2c7852e3d68bf06a169b51b207754972e4ac9.tar.xz
org.eclipse.osee-1ba2c7852e3d68bf06a169b51b207754972e4ac9.zip
Fix stacked dam widget on save0.25.0.v201709211953-REL
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/XStackedDam.java2
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/XStackedWidget.java1
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/XStackedDam.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/XStackedDam.java
index 42064c7715..ccbadc94a6 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/XStackedDam.java
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/XStackedDam.java
@@ -113,7 +113,7 @@ public class XStackedDam extends XStackedWidget<String> implements IAttributeWid
}
setNotificationsAllowed(true);
loadPageValues = true;
- onPageChange(getCurrentPage());
+ onPageChange(stackedControl.getPages().iterator().next());
} catch (Exception ex) {
OseeLog.log(Activator.class, OseeLevel.SEVERE_POPUP, ex);
}
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/XStackedWidget.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/XStackedWidget.java
index 01c474e8a7..5f57d8cbb2 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/XStackedWidget.java
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/XStackedWidget.java
@@ -326,6 +326,7 @@ public abstract class XStackedWidget<T> extends XLabel {
@Override
public void run() {
stackedControl.previous();
+ onPageChange(getCurrentPage());
}
}

Back to the top