mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-16 05:34:16 +01:00
Merge pull request #564 from daemitus/fix1
fix: update single plugin button did not check if testing
This commit is contained in:
commit
1f3dd8c230
1 changed files with 6 additions and 1 deletions
|
|
@ -1378,7 +1378,12 @@ namespace Dalamud.Interface.Internal.Windows
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ImGui.IsItemHovered())
|
if (ImGui.IsItemHovered())
|
||||||
ImGui.SetTooltip(Locs.PluginButtonToolTip_UpdateSingle(update.UpdateManifest.AssemblyVersion.ToString()));
|
{
|
||||||
|
var updateVersion = update.UseTesting
|
||||||
|
? update.UpdateManifest.TestingAssemblyVersion
|
||||||
|
: update.UpdateManifest.AssemblyVersion;
|
||||||
|
ImGui.SetTooltip(Locs.PluginButtonToolTip_UpdateSingle(updateVersion.ToString()));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void DrawOpenPluginSettingsButton(LocalPlugin plugin)
|
private void DrawOpenPluginSettingsButton(LocalPlugin plugin)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue