mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-04 11:23:50 +00:00
fixed parse exception issue in leaderboard settings panel
This commit is contained in:
1 parent
bba34e6dbd
commit
691e4c87ef
1 file changed
+5
-1
+5
-1
@@ -58,7 +58,11 @@ public abstract class AbstractChartSettingsComponent<SettingsType extends ChartS
|
||||
}
|
||||
|
||||
public ChartSettings getAbstractResult() {
|
||||
return new ChartSettings(getStepsBox().getValue().intValue());
|
||||
Long value = getStepsBox().getValue();
|
||||
if (value == null) {
|
||||
value = -1l;
|
||||
}
|
||||
return new ChartSettings(value.intValue());
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user