From 53e656200368a983e563550e2cc1acbc6d86b729 Mon Sep 17 00:00:00 2001
From: chr <chrry550@outlook.com>
Date: 星期三, 08 四月 2026 19:57:14 +0800
Subject: [PATCH] 完善代码

---
 Editor/SequencePanel.xaml.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Editor/SequencePanel.xaml.cs b/Editor/SequencePanel.xaml.cs
index 7002a55..439ff46 100644
--- a/Editor/SequencePanel.xaml.cs
+++ b/Editor/SequencePanel.xaml.cs
@@ -1,6 +1,7 @@
 using CommunityToolkit.Mvvm.ComponentModel;
 using Microsoft.Win32;
 using OpenTap;
+using OpenTap.Addin;
 using System.IO;
 using System.Windows;
 using System.Windows.Controls;
@@ -110,6 +111,7 @@
             };
             if (sfd.ShowDialog() == true)
             {
+                UIStationGlobalsManager.Instance.WriteToLocal(UIStationGlobalsManager.Instance.Datasource);
                 Plan.Save(sfd.FileName);
                 HasChanged = false;
                 TabName = Path.GetFileName(Plan.Path);
@@ -128,6 +130,7 @@
         };
         if (sfd.ShowDialog() == true)
         {
+            UIStationGlobalsManager.Instance.WriteToLocal(UIStationGlobalsManager.Instance.Datasource);
             Plan.Save(sfd.FileName);
             HasChanged = false;
             TabName = Path.GetFileName(Plan.Path);

--
Gitblit v1.9.1