mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 20:07:21 +01:00
fix selecting latest created data on creation
This commit is contained in:
parent
6769cf94dd
commit
15bfee9e8e
1 changed files with 1 additions and 0 deletions
|
|
@ -693,6 +693,7 @@ internal sealed partial class CharaDataHubUi
|
|||
_selectedDtoId = _charaDataManager.OwnCharaData.Last().Value.Id;
|
||||
_selectNewEntry = false;
|
||||
}
|
||||
_dataEntries = _charaDataManager.OwnCharaData.Count;
|
||||
|
||||
_ = _charaDataManager.OwnCharaData.TryGetValue(_selectedDtoId, out var dto);
|
||||
DrawEditCharaData(dto);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue