fix: keep headers in installer open after installation

This commit is contained in:
goat 2020-06-05 15:03:06 +02:00
parent 50e74fc97f
commit 5bc347654a

View file

@ -81,7 +81,7 @@ namespace Dalamud.Plugin
var isInstalled = this.manager.Plugins.Where(x => x.Definition != null).Any(
x => x.Definition.InternalName == pluginDefinition.InternalName);
if (ImGui.CollapsingHeader(pluginDefinition.Name + (isInstalled ? Loc.Localize("InstallerInstalled", " (installed)") : string.Empty))) {
if (ImGui.CollapsingHeader(pluginDefinition.Name + (isInstalled ? Loc.Localize("InstallerInstalled", " (installed)") : string.Empty) + "###Header" + pluginDefinition.InternalName)) {
ImGui.Indent();
ImGui.Text(pluginDefinition.Name);