mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-14 20:54:16 +01:00
fix: reset update status button when installer opens
This commit is contained in:
parent
7329465573
commit
8e5db448b2
1 changed files with 7 additions and 3 deletions
|
|
@ -149,12 +149,16 @@ namespace Dalamud.Interface.Internal.Windows
|
||||||
|
|
||||||
_ = pluginManager.ReloadPluginMastersAsync();
|
_ = pluginManager.ReloadPluginMastersAsync();
|
||||||
|
|
||||||
this.updatePluginCount = 0;
|
|
||||||
this.updatedPlugins = null;
|
|
||||||
|
|
||||||
this.searchText = string.Empty;
|
this.searchText = string.Empty;
|
||||||
this.sortKind = PluginSortKind.Alphabetical;
|
this.sortKind = PluginSortKind.Alphabetical;
|
||||||
this.filterText = Locs.SortBy_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/>
|
/// <inheritdoc/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue