Skip to content

Commit e005953

Browse files
authored
Merge pull request #776 from Roeterdink/UpdateReceiversInViewer
Update Receivers in Viewer.cs
2 parents be03e85 + 7b6af67 commit e005953

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Source/RunActivity/Viewer3D/Viewer.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// COPYRIGHT 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017 by the Open Rails project.
1+
// COPYRIGHT 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017 by the Open Rails project.
22
//
33
// This file is part of Open Rails.
44
//
@@ -1670,6 +1670,7 @@ void PlayerTrainChanged(object sender, Simulator.PlayerTrainChangedEventArgs e)
16701670
if (SelectedTrain == e.OldTrain)
16711671
{
16721672
SelectedTrain = e.NewTrain;
1673+
SetCommandReceivers();
16731674
}
16741675
}
16751676

0 commit comments

Comments
 (0)