mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
feat: add tooltip to unload frown
This commit is contained in:
parent
133646332f
commit
bdbc9334f4
1 changed files with 5 additions and 0 deletions
|
|
@ -979,6 +979,9 @@ namespace Dalamud.Interface.Internal.Windows
|
||||||
else if (plugin.State == PluginState.UnloadError)
|
else if (plugin.State == PluginState.UnloadError)
|
||||||
{
|
{
|
||||||
ImGuiComponents.DisabledButton(FontAwesomeIcon.Frown);
|
ImGuiComponents.DisabledButton(FontAwesomeIcon.Frown);
|
||||||
|
|
||||||
|
if (ImGui.IsItemHovered())
|
||||||
|
ImGui.SetTooltip(Locs.PluginButtonToolTip_UnloadFailed);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1553,6 +1556,8 @@ namespace Dalamud.Interface.Internal.Windows
|
||||||
|
|
||||||
public static string PluginButtonToolTip_UpdateSingle(string version) => Loc.Localize("InstallerUpdateSingle", "Update to {0}").Format(version);
|
public static string PluginButtonToolTip_UpdateSingle(string version) => Loc.Localize("InstallerUpdateSingle", "Update to {0}").Format(version);
|
||||||
|
|
||||||
|
public static string PluginButtonToolTip_UnloadFailed => Loc.Localize("InstallerUnloadFailedTooltip", "Plugin unload failed, please restart your game and try again.");
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Footer
|
#region Footer
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue