fix: reset update status button when installer opens

This commit is contained in:
goat 2021-12-14 21:25:33 +01:00
parent 7329465573
commit 8e5db448b2
No known key found for this signature in database
GPG key ID: 7773BB5B43BA52E5

View file

@ -149,12 +149,16 @@ namespace Dalamud.Interface.Internal.Windows
_ = pluginManager.ReloadPluginMastersAsync();
this.updatePluginCount = 0;
this.updatedPlugins = null;
this.searchText = string.Empty;
this.sortKind = PluginSortKind.Alphabetical;
this.filterText = Locs.SortBy_Alphabetical;
if (this.updateStatus == OperationStatus.Complete || this.updateStatus == OperationStatus.Idle)
{
this.updateStatus = OperationStatus.Idle;
this.updatePluginCount = 0;
this.updatedPlugins = null;
}
}
/// <inheritdoc/>