feat: sort tags
This commit is contained in:
parent
45128396d2
commit
ca8beb53cc
|
@ -722,6 +722,7 @@ namespace Glamaholic.Ui {
|
|||
if (ImGui.InputTextWithHint("##tag-input", "Input a tag and press Enter", ref this._tagInput, 128, ImGuiInputTextFlags.EnterReturnsTrue)) {
|
||||
if (!plate.Tags.Contains(this._tagInput)) {
|
||||
plate.Tags.Add(this._tagInput);
|
||||
plate.Tags.Sort();
|
||||
this.Ui.Plugin.SaveConfig();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user