Skip to content

Commit 61bbf43

Browse files
Next station window button always enabled, too difficult to determine if window has valid information
1 parent 19dc744 commit 61bbf43

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Source/RunActivity/Viewer3D/WebServices/SwitchPanel/SwitchOnPanelDefinition.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,6 @@ public void init(UserCommand userCommand)
8686
init1(ORTS.Common.Input.UserCommand.ControlTractionCutOffRelayClosingOrder);
8787
break;
8888

89-
case ORTS.Common.Input.UserCommand.DisplayNextStationWindow:
90-
Orts.Simulation.Activity act = Viewer.Simulator.ActivityRun;
91-
if ((act != null) && (act.EventList.Count) > 0)
92-
init1(ORTS.Common.Input.UserCommand.DisplayNextStationWindow);
93-
else
94-
init0(ORTS.Common.Input.UserCommand.DisplayNextStationWindow);
95-
break;
96-
9789
case ORTS.Common.Input.UserCommand.ControlHeadlightIncrease:
9890
init2(ORTS.Common.Input.UserCommand.ControlHeadlightIncrease, ORTS.Common.Input.UserCommand.ControlHeadlightDecrease);
9991
break;

0 commit comments

Comments
 (0)