From 79d3ce2e15a915b6b5690d4f8de29a990d4c1d70 Mon Sep 17 00:00:00 2001 From: denglihong2007 <2639367181@qq.com> Date: Tue, 4 Mar 2025 00:44:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BC=96=E8=BE=91=E5=81=9C=E7=AB=99?= =?UTF-8?q?=E5=9C=B0=E6=A0=87=E3=80=81=E7=AB=99=E5=8F=B0=E5=A4=8D=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CRSim/Views/Windows/Dialogs/StationStopDialog.xaml.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CRSim/Views/Windows/Dialogs/StationStopDialog.xaml.cs b/CRSim/Views/Windows/Dialogs/StationStopDialog.xaml.cs index e236c99..f68313d 100644 --- a/CRSim/Views/Windows/Dialogs/StationStopDialog.xaml.cs +++ b/CRSim/Views/Windows/Dialogs/StationStopDialog.xaml.cs @@ -108,6 +108,8 @@ namespace CRSim.Views { Platforms.Add(s); } + PlatformComboBox.SelectedIndex = Platforms.IndexOf(stationStop.Platform); + LandmarkComboBox.SelectedIndex = stationStop.Landmark == null ? 0 : Landmarks.IndexOf(stationStop.Landmark); ValidateInput(); }