diff --git a/Source/Editor/Windows/ContentWindow.cs b/Source/Editor/Windows/ContentWindow.cs
index 42e4c47ef..c9c1a8d21 100644
--- a/Source/Editor/Windows/ContentWindow.cs
+++ b/Source/Editor/Windows/ContentWindow.cs
@@ -488,7 +488,10 @@ namespace FlaxEditor.Windows
/// The item to delete.
public void Delete(ContentItem item)
{
- Delete(Editor.Instance.Windows.ContentWin.View.Selection);
+ var items = View.Selection;
+ if (items.Count == 0)
+ items = new List() { item };
+ Delete(items);
}
///