fix legacy CharListControlLangRes calls
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user