fix: show config name in preview

This commit is contained in:
Anna 2024-07-28 01:28:53 -04:00
parent 64b1f5b415
commit 67bacae629
Signed by: anna
GPG Key ID: D0943384CD9F87D1

View File

@ -132,7 +132,7 @@ public class PluginUi : IDisposable {
? this.Plugin.Config.EvaluatorId == Evaluator.RandomId
? "Random"
: "None"
: current.Name;
: current.ConfigName ?? current.Name;
if (ImGuiHelper.BeginComboVertical("Evaluator", "evaluator", preview, comboSize)) {
using var endCombo = new OnDispose(ImGui.EndCombo);