fix legacy CharListControlLangRes calls

This commit is contained in:
2024-06-10 21:29:25 +02:00
parent ca3f82fc21
commit 14e00f3bf5

View File

@@ -1,4 +1,5 @@
using OwnChar.App.Desktop.Api; using OwnChar.App.Desktop.Api;
using OwnChar.App.Desktop.LangRes;
using OwnChar.App.Desktop.UI.Windows; using OwnChar.App.Desktop.UI.Windows;
using OwnChar.Model; using OwnChar.Model;
using System; using System;
@@ -53,12 +54,12 @@ namespace OwnChar.App.Desktop.UI.MainTabs.Controls
radListView_CharList.BeginUpdate(); radListView_CharList.BeginUpdate();
radListView_CharList.Columns.Clear(); radListView_CharList.Columns.Clear();
radListView_CharList.Columns.Add(LangRes.LangResCharListControl.Column_CharName); radListView_CharList.Columns.Add(CharListControlLangRes.Column_CharName);
if (profile != null) if (profile != null)
radListView_CharList.Columns.Add(LangRes.LangResCharListControl.Column_CharGroup); radListView_CharList.Columns.Add(CharListControlLangRes.Column_CharGroup);
else if (group != null) else if (group != null)
radListView_CharList.Columns.Add(LangRes.LangResCharListControl.Column_CharOwner); radListView_CharList.Columns.Add(CharListControlLangRes.Column_CharOwner);
radListView_CharList.EndUpdate(); radListView_CharList.EndUpdate();
} }