mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-10 22:30:56 +00:00
allow user to remove / stop tracking a "regatta" (races of one boat class)
This commit is contained in:
1 parent
4b2a8cc031
commit
9c227ada00
1 file changed
+2
-1
+2
-1
@@ -373,7 +373,8 @@ public class EventManagementPanel extends FormPanel {
|
||||
// scan event's races:
|
||||
for (RegattaDAO regatta : event.regattas) {
|
||||
for (RaceDAO race : regatta.races) {
|
||||
if (trackedEventsModel.getSelectionModel().isSelected(race)) {
|
||||
if (trackedEventsModel.getSelectionModel().isSelected(regatta) ||
|
||||
trackedEventsModel.getSelectionModel().isSelected(race)) {
|
||||
stopTrackingRace(event, race);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user