mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-08 21:30:57 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
c5a4a5a074
2 files changed
+4
-2
No files matched your search
+3
-1
@@ -74,7 +74,9 @@ public abstract class RegattaLeaderboardDialog extends AbstractLeaderboardDialog
|
||||
}
|
||||
regattaDefinesDiscardsLabel.setVisible(true);
|
||||
} else {
|
||||
discardThresholdBoxes.getWidget().setVisible(true);
|
||||
if (discardThresholdBoxes != null) {
|
||||
discardThresholdBoxes.getWidget().setVisible(true);
|
||||
}
|
||||
regattaDefinesDiscardsLabel.setVisible(false);
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ public class RegattaLeaderboardEditDialog extends RegattaLeaderboardDialog {
|
||||
|
||||
regattaListBox = createSortedRegattaListBox(existingRegattas, leaderboardDescriptor.getRegattaName());
|
||||
regattaListBox.setEnabled(false);
|
||||
if (leaderboardDescriptor.getDiscardThresholds() != null) {
|
||||
if (!getSelectedRegatta().definesSeriesDiscardThresholds()) {
|
||||
discardThresholdBoxes = new DiscardThresholdBoxes(this, leaderboardDescriptor.getDiscardThresholds(), stringMessages);
|
||||
} // else, the regatta leaderboard obtains its result discarding rule implicitly from the underlying regatta
|
||||
adjustVisibilityOfResultDiscardingRuleComponent();
|
||||
|
||||
Reference in new issue
Block a user