Skip to content

Commit

Permalink
restore mainwindow
Browse files Browse the repository at this point in the history
  • Loading branch information
rmbadmin committed May 5, 2022
1 parent d6f1426 commit 25ee613
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ST.Client.Desktop.Avalonia.App/Views/MainWindow.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ protected override void OnOpened(EventArgs e)
{
base.OnOpened(e);

if (ViewModel is not null && ViewModel.SelectedItem.IsDeactivation)
{
ViewModel.SelectedItem.Activation();
}

IApplicationUpdateService.Instance.OnMainOpenTryShowNewVersionWindow();
}

Expand Down

0 comments on commit 25ee613

Please sign in to comment.