mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 13:14:17 +01:00
fix: some concurrency issues with the installer
This commit is contained in:
parent
49793a1f17
commit
9bf714b6ba
2 changed files with 2 additions and 2 deletions
|
|
@ -1035,7 +1035,7 @@ namespace Dalamud.Interface.Internal.Windows.PluginInstaller
|
|||
|
||||
private void DrawPluginCategoryContent()
|
||||
{
|
||||
var ready = this.DrawPluginListLoading();
|
||||
var ready = this.DrawPluginListLoading() && !this.AnyOperationInProgress;
|
||||
if (!this.categoryManager.IsSelectionValid || !ready)
|
||||
{
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@ internal partial class PluginManager : IDisposable, IServiceType
|
|||
/// <summary>
|
||||
/// Gets a value indicating whether all added repos are not in progress.
|
||||
/// </summary>
|
||||
public bool ReposReady => this.Repos.All(repo => repo.State != PluginRepositoryState.InProgress || repo.State != PluginRepositoryState.Fail);
|
||||
public bool ReposReady => this.Repos.All(repo => repo.State != PluginRepositoryState.InProgress);
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether the plugin manager started in safe mode.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue