mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 15:47:22 +01:00
fix sorting in syncshells, display owner properly, display mod popup for syncshells, order world list by name
This commit is contained in:
parent
49bf5bcf13
commit
d47b4f52ec
4 changed files with 40 additions and 23 deletions
|
|
@ -259,7 +259,7 @@ public class SettingsUi : Window, IDisposable
|
|||
_serverConfigurationManager.Save();
|
||||
}
|
||||
var worldIdx = (ushort)item.WorldId;
|
||||
var data = _uiShared.WorldData;
|
||||
var data = _uiShared.WorldData.OrderBy(u => u.Value, StringComparer.Ordinal).ToDictionary(k => k.Key, k => k.Value);
|
||||
if (!data.TryGetValue(worldIdx, out string? worldPreview))
|
||||
{
|
||||
worldPreview = data.First().Value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue