From 26c57d9ad5dadf003b3e0d4b8f55aff2aa4917e3 Mon Sep 17 00:00:00 2001 From: Antoine Pilote Date: Sat, 17 Aug 2024 12:32:34 -0400 Subject: [PATCH] Fixed compilation error --- Editor/src/Windows/EditorInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editor/src/Windows/EditorInterface.cpp b/Editor/src/Windows/EditorInterface.cpp index a8b31d33..6f76a4ed 100644 --- a/Editor/src/Windows/EditorInterface.cpp +++ b/Editor/src/Windows/EditorInterface.cpp @@ -2243,7 +2243,7 @@ namespace Nuake { { ImGuiTreeNodeFlags base_flags = ImGuiTreeNodeFlags_Leaf | ImGuiTreeNodeFlags_SpanAvailWidth | ImGuiTreeNodeFlags_SpanFullWidth | ImGuiTreeNodeFlags_DefaultOpen | ImGuiTreeNodeFlags_FramePadding; - bool is_selected = settingCategoryIndex == FileSystem::RootDirectory; + bool is_selected = settingCategoryIndex == 1; if (is_selected) base_flags |= ImGuiTreeNodeFlags_Selected;