Skip to content

Commit

Permalink
fix: 修复无法ui无法修改等待软件启动时间的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
SweetSmellFox committed Feb 6, 2025
1 parent e09b3a6 commit 3d93d06
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Views/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2116,6 +2116,11 @@ private void InitializationSettings()
};

settingsView.WaitSoftwareTimeTextBox.Value = DataSet.GetData("WaitSoftwareTime", 60.0);
settingsView.WaitSoftwareTimeTextBox.ValueChanged += (sender, _) =>
{
var value = (sender as NumericUpDown)?.Value ?? 60;
DataSet.SetData("WaitSoftwareTime", value);
};
settingsView.ExtrasTextBox.TextChanged += (sender, _) =>
{
var text = (sender as TextBox)?.Text ?? string.Empty;
Expand Down

0 comments on commit 3d93d06

Please sign in to comment.