This commit is contained in:
DHR60
2026-09-19 14:49:01 +08:00
committed by GitHub
parent e6e95e00d7
commit 6e9ec6cbee
@@ -680,6 +680,13 @@ public partial class MainWindowViewModel : MyReactiveObject
{
SetReloadEnabled(false);
RxSchedulers.MainThreadScheduler.Schedule(() =>
{
if (TabMainSelectedIndex < 0)
{
TabMainSelectedIndex = 0;
}
});
var profileItem = await ConfigHandler.GetDefaultServer(_config);
if (profileItem == null)
{