mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 20:33:40 +01:00
fix: sync profile/plugin lists when drawing profile manager
This commit is contained in:
parent
c68793b589
commit
00fd9079a9
3 changed files with 17 additions and 1 deletions
|
|
@ -111,6 +111,7 @@ internal class ProfileManagerWidget
|
|||
{
|
||||
Guid? toCloneGuid = null;
|
||||
|
||||
using var syncScope = profman.GetSyncScope();
|
||||
foreach (var profile in profman.Profiles)
|
||||
{
|
||||
if (profile.IsDefaultProfile)
|
||||
|
|
@ -329,7 +330,8 @@ internal class ProfileManagerWidget
|
|||
var pluginLineHeight = 32 * ImGuiHelpers.GlobalScale;
|
||||
string? wantRemovePluginInternalName = null;
|
||||
|
||||
foreach (var plugin in profile.Plugins)
|
||||
using var syncScope = profile.GetSyncScope();
|
||||
foreach (var plugin in profile.Plugins.ToArray())
|
||||
{
|
||||
didAny = true;
|
||||
var pmPlugin = pm.InstalledPlugins.FirstOrDefault(x => x.Manifest.InternalName == plugin.InternalName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue