[Dive4elements-commits] [PATCH 3 of 3] issue1311: Update links on toolbar when km changed
Wald Commits
scm-commit at wald.intevation.org
Fri May 10 11:22:02 CEST 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1368178169 -7200
# Node ID e9e298724f03a6a51ee4645249db7ceaef549baa
# Parent aaa5e5ac5b026ddab45fbd57dd06543954b5d2bc
issue1311: Update links on toolbar when km changed.
diff -r aaa5e5ac5b02 -r e9e298724f03 gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/NaviChartOutputTab.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/NaviChartOutputTab.java Fri May 10 11:28:50 2013 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/NaviChartOutputTab.java Fri May 10 11:29:29 2013 +0200
@@ -163,6 +163,7 @@
try {
double d = Double.valueOf(collectionView.getCurrentKm());
currentkm.setValue(nf.format(d));
+ tbarPanel.onZoom(null);
} catch (NumberFormatException e) {
currentkm.setValue(collectionView.getCurrentKm());
}
@@ -176,6 +177,7 @@
try {
double d = Double.valueOf(collectionView.getCurrentKm());
currentkm.setValue(nf.format(d));
+ tbarPanel.onZoom(null);
} catch (NumberFormatException e) {
currentkm.setValue(collectionView.getCurrentKm());
}
@@ -202,6 +204,7 @@
d >= collectionView.getMinKm()) {
collectionView.setCurrentKm(d);
tbarPanel.updateLinks();
+ tbarPanel.onZoom(null);
if (right != null) {
updateChartPanel();
updateChartInfo();
More information about the Dive4elements-commits
mailing list