Dont reload entire library on game version change
This commit is contained in:
parent
2b0e121b17
commit
14c90d1c5d
2 changed files with 1 additions and 11 deletions
|
@ -802,6 +802,7 @@ namespace Ryujinx.UI.App.Common
|
||||||
|
|
||||||
it.Remove(it.Items.Where(item => item.TitleUpdate.TitleIdBase == application.IdBase));
|
it.Remove(it.Items.Where(item => item.TitleUpdate.TitleIdBase == application.IdBase));
|
||||||
it.AddOrUpdate(updates);
|
it.AddOrUpdate(updates);
|
||||||
|
RefreshApplicationInfo(application.IdBase);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -59,17 +59,6 @@ namespace Ryujinx.Ava.UI.Windows
|
||||||
{
|
{
|
||||||
ViewModel.Save();
|
ViewModel.Save();
|
||||||
|
|
||||||
if (Application.Current?.ApplicationLifetime is IClassicDesktopStyleApplicationLifetime al)
|
|
||||||
{
|
|
||||||
foreach (Window window in al.Windows)
|
|
||||||
{
|
|
||||||
if (window is MainWindow mainWindow)
|
|
||||||
{
|
|
||||||
mainWindow.LoadApplications();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
((ContentDialog)Parent).Hide();
|
((ContentDialog)Parent).Hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue