This commit is contained in:
DHR60
2026-09-02 03:28:55 +00:00
committed by GitHub
parent 64aad8027a
commit 1bf3d14771

View File

@@ -445,6 +445,19 @@ public partial class MainWindow : WindowBase<MainWindowViewModel>
break;
}
// workaround
Task.Run(async () =>
{
await Task.Delay(5000);
Dispatcher.UIThread.Post(() =>
{
ViewModel?.TabMainSelectedIndex = 0;
tabMain.SelectedIndex = 0;
tabMain1.SelectedIndex = 0;
tabMain2.SelectedIndex = 0;
});
});
RestoreUI();
}