From 0688e9c6c3e4dc3ff02cfa417c7f19bb07675a0f Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Perrier Date: Sat, 19 Dec 2020 22:41:58 +0100 Subject: [PATCH] Set auto sort to true for New asset context menu. --- Source/Editor/Windows/ContentWindow.ContextMenu.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Editor/Windows/ContentWindow.ContextMenu.cs b/Source/Editor/Windows/ContentWindow.ContextMenu.cs index 2dd5ec3d7..d273ead49 100644 --- a/Source/Editor/Windows/ContentWindow.ContextMenu.cs +++ b/Source/Editor/Windows/ContentWindow.ContextMenu.cs @@ -139,6 +139,7 @@ namespace FlaxEditor.Windows c = cm.AddChildMenu("New"); c.ContextMenu.Tag = item; + c.ContextMenu.AutoSort = true; int newItems = 0; for (int i = 0; i < Editor.ContentDatabase.Proxy.Count; i++) {