Fix segfault: target can be null when font size is changed
This commit is contained in:
@@ -989,7 +989,7 @@ namespace FlaxEditor.Windows
|
||||
}
|
||||
_view.ShowItems(items, _sortType, false, true);
|
||||
}
|
||||
else
|
||||
else if (target != null)
|
||||
{
|
||||
// Show folder contents
|
||||
var items = target.Folder.Children;
|
||||
|
||||
Reference in New Issue
Block a user