Minor error handling changes

This commit is contained in:
Liza 2024-08-17 15:44:22 +02:00
parent 3a8f9b8f66
commit 58040f4b16
Signed by: liza
GPG Key ID: 7199F8D727D55F67

View File

@ -137,7 +137,7 @@ internal sealed class EquipmentBrowserWindow : LWindow
if (includeDamage) if (includeDamage)
ImGui.TableSetupColumn("Damage", ImGuiTableColumnFlags.WidthFixed, 50); ImGui.TableSetupColumn("Damage", ImGuiTableColumnFlags.WidthFixed, 50);
foreach (var substat in itemList.SubstatPriorities) foreach (var substat in itemList.SubstatPriorities)
ImGui.TableSetupColumn(_dataHolder.StatNames[substat], ImGuiTableColumnFlags.WidthFixed, 50); ImGui.TableSetupColumn(_dataHolder.StatNames.GetValueOrDefault(substat, substat.ToString()), ImGuiTableColumnFlags.WidthFixed, 50);
ImGui.TableHeadersRow(); ImGui.TableHeadersRow();