single point of exit pattern

Change-Id: Icab75709142a3bb58c72d3561c895e4b85d22967
This commit is contained in:
Axel Uhl committed 2016-09-07 18:05:48 +02:00
1 parent 970000381b
commit 1a105895e8
1 file changed
+3 -4
@@ -569,11 +569,10 @@ public class SmartphoneTrackingEventManagementPanel extends AbstractLeaderboardC
configuration.defaultCourseDesignerMode = CourseDesignerMode.BY_MARKS;
updateRegattaConfiguration(regatta, configuration);
} else {
if (configuration.defaultCourseDesignerMode == CourseDesignerMode.BY_MARKS) {
return;
if (configuration.defaultCourseDesignerMode != CourseDesignerMode.BY_MARKS) {
DialogBox dialogBox = createOverrideConfigurationDialog(regatta, configuration);
dialogBox.center();
}
DialogBox dialogBox = createOverrideConfigurationDialog(regatta, configuration);
dialogBox.center();
}
}
}