mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix: don't always reload PluginMasters when saving settings
Fixes a race condition when filtering categories while two refilters were active
This commit is contained in:
parent
d1c22f7dd6
commit
b4b84ad39d
2 changed files with 5 additions and 6 deletions
|
|
@ -226,7 +226,6 @@ internal class SettingsWindow : Window
|
|||
|
||||
configuration.QueueSave();
|
||||
|
||||
_ = Service<PluginManager>.Get().ReloadPluginMastersAsync();
|
||||
Service<InterfaceManager>.Get().RebuildFonts();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -672,11 +672,11 @@ internal partial class PluginManager : IDisposable, IServiceType
|
|||
.SelectMany(repo => repo.PluginMaster)
|
||||
.Where(this.IsManifestEligible)
|
||||
.Where(IsManifestVisible));
|
||||
}
|
||||
|
||||
if (notify)
|
||||
{
|
||||
this.NotifyAvailablePluginsChanged();
|
||||
|
||||
if (notify)
|
||||
{
|
||||
this.NotifyAvailablePluginsChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue