mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-19 18:50:03 +00:00
comment format change only
This commit is contained in:
1 parent
a2b8813aab
commit
dd4b167889
1 file changed
+2
-4
+2
-4
@@ -2336,10 +2336,8 @@ public class LeaderboardPanel extends SimplePanel implements TimeListener, PlayS
|
|||||||
Column<LeaderboardRowDTO, ?> c = getLeaderboardTable().getColumn(i);
|
Column<LeaderboardRowDTO, ?> c = getLeaderboardTable().getColumn(i);
|
||||||
if (c instanceof RaceColumn<?>) {
|
if (c instanceof RaceColumn<?>) {
|
||||||
RaceColumn<?> rc = (RaceColumn<?>) c;
|
RaceColumn<?> rc = (RaceColumn<?>) c;
|
||||||
// If the new leaderboard no longer contains the column, getLegCount will return -1, causing the
|
// If the new leaderboard no longer contains the column, getLegCount will return -1, causing the column
|
||||||
// column
|
// to be collapsed if it was expanded. This is correct because otherwise, removing it would no longer
|
||||||
// to be collapsed if it was expanded. This is correct because otherwise, removing it would no
|
|
||||||
// longer
|
|
||||||
// know the correct leg count.
|
// know the correct leg count.
|
||||||
if (!rc.isTogglingInProcess() && rc.isExpanded()) {
|
if (!rc.isTogglingInProcess() && rc.isExpanded()) {
|
||||||
int oldLegCount = getLeaderboard().getLegCount(rc.getRaceColumnName(), preSelectedRace);
|
int oldLegCount = getLeaderboard().getLegCount(rc.getRaceColumnName(), preSelectedRace);
|
||||||
|
|||||||
Reference in new issue
Block a user