mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-21 16:09:19 +01:00
feat(PluginInstaller): switch to installed plugins tab after updating all plugins
This commit is contained in:
parent
797bcf7305
commit
5871cf8d8c
1 changed files with 4 additions and 0 deletions
|
|
@ -347,6 +347,10 @@ namespace Dalamud.Interface.Internal.Windows
|
||||||
{
|
{
|
||||||
pluginManager.PrintUpdatedPlugins(this.updatedPlugins, Locs.PluginUpdateHeader_Chatbox);
|
pluginManager.PrintUpdatedPlugins(this.updatedPlugins, Locs.PluginUpdateHeader_Chatbox);
|
||||||
notifications.AddNotification(Locs.Notifications_UpdatesInstalled(this.updatePluginCount), Locs.Notifications_UpdatesInstalledTitle, NotificationType.Success);
|
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)
|
else if (this.updatePluginCount == 0)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue