Skip to content

Commit 88f051a

Browse files
committed
bug6232: added comment regarding instruction order in updateSettings
1 parent 651c7d6 commit 88f051a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/leaderboard/SingleRaceLeaderboardPanel.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,8 @@ public SafeHtmlHeader getHeader() {
329329

330330
@Override
331331
public void updateSettings(SingleRaceLeaderboardSettings newSettings) {
332+
// Note: it's important to update showRaceRankColumn *before* calling super.updateSettings(newSettings)
333+
// because the base class implementation then also ensures all columns are displayed according to settings
332334
showRaceRankColumn = newSettings.isShowRaceRankColumn();
333335
super.updateSettings(newSettings);
334336
}

0 commit comments

Comments
 (0)