some fixes
This commit is contained in:
@@ -2,12 +2,10 @@
|
||||
using OwnChar.App.Desktop.LangRes;
|
||||
using OwnChar.Model;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
using Telerik.WinControls;
|
||||
using Telerik.WinControls.UI;
|
||||
using Telerik.Windows.Documents.Fixed.Model.Navigation;
|
||||
|
||||
namespace OwnChar.App.Desktop.UI.MainTabs.Controls;
|
||||
|
||||
@@ -111,7 +109,7 @@ public partial class CharacterListControl : UserControl
|
||||
if (group != null)
|
||||
listItem[2] = group.Name;
|
||||
else
|
||||
listItem[2] = character.Owner!.Name;
|
||||
listItem[2] = mainApi.Manager?.Groups.GetOwner(group)?.Name;
|
||||
}
|
||||
|
||||
private Character? GetSelectedChar()
|
||||
@@ -165,7 +163,7 @@ public partial class CharacterListControl : UserControl
|
||||
{
|
||||
character.Name,
|
||||
character.Fandom,
|
||||
character.Owner?.Name,
|
||||
mainApi.Manager?.Characters.GetOwner(character)?.Name,
|
||||
};
|
||||
|
||||
foreach (var value in allValues)
|
||||
|
||||
Reference in New Issue
Block a user