From ffc5a4d24fc660dd38d42631e89676ba0e47698b Mon Sep 17 00:00:00 2001 From: Chandler Cox Date: Thu, 8 Dec 2022 20:42:39 -0600 Subject: [PATCH] Style fix --- Source/Editor/Modules/UIModule.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Source/Editor/Modules/UIModule.cs b/Source/Editor/Modules/UIModule.cs index 5d0b6ff09..83ff4a74b 100644 --- a/Source/Editor/Modules/UIModule.cs +++ b/Source/Editor/Modules/UIModule.cs @@ -740,9 +740,7 @@ namespace FlaxEditor.Modules // Find layout to use var searchFolder = StringUtils.CombinePaths(Editor.LocalCachePath, "LayoutsCache") ; if (!Directory.Exists(searchFolder)) - { Directory.CreateDirectory(searchFolder); - } var files = Directory.GetFiles(searchFolder, "Layout_*.xml", SearchOption.TopDirectoryOnly); var layouts = _menuWindowApplyWindowLayout.ContextMenu; layouts.DisposeAllItems();