diff --git a/UI/MainForm.cs b/UI/MainForm.cs index 44383e11..243c6a18 100644 --- a/UI/MainForm.cs +++ b/UI/MainForm.cs @@ -261,7 +261,7 @@ private void ExecManager_OnSimAircraftChanged(object sender, string aircraftName { if (this.InvokeRequired) { - this.Invoke(new UpdateAircraftCallback(UpdateAircraft), new object[] { aircraftName }); + this.Invoke(new EventHandler(ExecManager_OnSimAircraftChanged), new object[] { sender, aircraftName }); } else {