Skip to content

Commit

Permalink
Fix packages showing greyed out until mouseover event
Browse files Browse the repository at this point in the history
  • Loading branch information
marticliment committed Feb 8, 2025
1 parent 5b7ac71 commit 5056bc7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/UniGetUI/Pages/MainView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,11 @@ public void NavigateTo(PageType NewPage_t)
OldPage_t = CurrentPage_t;
CurrentPage_t = NewPage_t;

(oldPage as IEnterLeaveListener)?.OnLeave();

(NewPage as AbstractPackagesPage)?.FocusPackageList();
(NewPage as AbstractPackagesPage)?.FilterPackages();
(NewPage as IEnterLeaveListener)?.OnEnter();
(oldPage as IEnterLeaveListener)?.OnLeave();
}

private void ReleaseNotesMenu_Click(object sender, RoutedEventArgs e)
Expand Down

0 comments on commit 5056bc7

Please sign in to comment.