mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
fix: use explicit ID for add plugin popup
This commit is contained in:
parent
27b2e8371d
commit
11ea64410e
1 changed files with 2 additions and 1 deletions
|
|
@ -206,6 +206,7 @@ internal class ProfileManagerWidget
|
||||||
}
|
}
|
||||||
|
|
||||||
const string addPluginToProfilePopup = "###addPluginToProfile";
|
const string addPluginToProfilePopup = "###addPluginToProfile";
|
||||||
|
var addPluginToProfilePopupId = ImGui.GetID(addPluginToProfilePopup);
|
||||||
using (var popup = ImRaii.Popup(addPluginToProfilePopup))
|
using (var popup = ImRaii.Popup(addPluginToProfilePopup))
|
||||||
{
|
{
|
||||||
if (popup.Success)
|
if (popup.Success)
|
||||||
|
|
@ -444,7 +445,7 @@ internal class ProfileManagerWidget
|
||||||
if (wantPluginAddPopup)
|
if (wantPluginAddPopup)
|
||||||
{
|
{
|
||||||
this.pickerSearch = string.Empty;
|
this.pickerSearch = string.Empty;
|
||||||
ImGui.OpenPopup(addPluginToProfilePopup);
|
ImGui.OpenPopup(addPluginToProfilePopupId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue