mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-31 21:03:43 +01:00
Clear context menu callbacks when opening AddonContextMenuTitle (#1743)
This commit is contained in:
parent
b3db0e78b3
commit
3c471575af
1 changed files with 4 additions and 0 deletions
|
|
@ -363,6 +363,10 @@ internal sealed unsafe class ContextMenu : IInternalDisposableService, IContextM
|
||||||
Log.Verbose($"Opening {this.SelectedMenuType} submenu with {this.SubmenuItems.Count} custom items.");
|
Log.Verbose($"Opening {this.SelectedMenuType} submenu with {this.SubmenuItems.Count} custom items.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (MemoryHelper.EqualsZeroTerminatedString("AddonContextMenuTitle", (nint)addonName))
|
||||||
|
{
|
||||||
|
this.MenuCallbackIds.Clear();
|
||||||
|
}
|
||||||
|
|
||||||
var ret = this.raptureAtkModuleOpenAddonByAgentHook.Original(module, addonName, addon, valueCount, values, agent, a7, parentAddonId);
|
var ret = this.raptureAtkModuleOpenAddonByAgentHook.Original(module, addonName, addon, valueCount, values, agent, a7, parentAddonId);
|
||||||
if (values != oldValues)
|
if (values != oldValues)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue