removed automatic time-based play mode transition from RaceTimePanel

This commit is contained in:
Axel Uhl committed 2012-02-22 18:40:29 +01:00
1 parent f8d3aadde8
commit 33e1fd4622
1 file changed
+1 -7
@@ -94,13 +94,7 @@ public class RaceTimePanel extends TimePanel<RaceTimePanelSettings> implements R
if (raceTimesInfo.startOfTracking != null && raceTimesInfo.timePointOfNewestEvent != null) {
// we set here the min and max of the time slider, the start and end of the race as well as the known
// leg markers
if (isLiveModeToBeMadePossible()) {
// don't worry; this will only fire an event if something actually changed
// FIXME bug 323: dont' set the play mode but only make sure the time panel's "Live" button is enabled
timer.setPlayMode(PlayModes.Live);
} else {
timer.setPlayMode(PlayModes.Replay);
}
setLiveGenerallyPossible(isLiveModeToBeMadePossible());
boolean timerAlreadyInitialized = getMin() != null && getMax() != null && sliderBar.getCurrentValue() != null;
initMinMax(raceTimesInfo);
if (!timerAlreadyInitialized) {