mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Order right-click context collections by name.
This commit is contained in:
parent
5ba43c1b19
commit
e4e74376fc
1 changed files with 1 additions and 1 deletions
|
|
@ -237,7 +237,7 @@ public sealed class CollectionPanel : IDisposable
|
||||||
_active.SetCollection(null, type, _active.Individuals.GetGroup(identifier));
|
_active.SetCollection(null, type, _active.Individuals.GetGroup(identifier));
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (var coll in _collections)
|
foreach (var coll in _collections.OrderBy(c => c.Name))
|
||||||
{
|
{
|
||||||
if (coll != collection && ImGui.MenuItem($"Use {coll.Name}."))
|
if (coll != collection && ImGui.MenuItem($"Use {coll.Name}."))
|
||||||
_active.SetCollection(coll, type, _active.Individuals.GetGroup(identifier));
|
_active.SetCollection(coll, type, _active.Individuals.GetGroup(identifier));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue