feat(PluginInstaller): switch to installed plugins tab after updating all plugins

This commit is contained in:
goaaats 2022-02-03 03:15:47 +01:00
parent 797bcf7305
commit 5871cf8d8c
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B

View file

@ -347,6 +347,10 @@ namespace Dalamud.Interface.Internal.Windows
{
pluginManager.PrintUpdatedPlugins(this.updatedPlugins, Locs.PluginUpdateHeader_Chatbox);
notifications.AddNotification(Locs.Notifications_UpdatesInstalled(this.updatePluginCount), Locs.Notifications_UpdatesInstalledTitle, NotificationType.Success);
var installedGroupIdx = this.categoryManager.GroupList.TakeWhile(
x => x.GroupKind != PluginCategoryManager.GroupKind.Installed).Count();
this.categoryManager.CurrentGroupIdx = installedGroupIdx;
}
else if (this.updatePluginCount == 0)
{