From 919e6378221716abf807deffbece358fa08b52e9 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 12 Mar 2022 02:38:35 -0600 Subject: [PATCH] [nostalgia/studio] Switch awayy from removed ImGui function --- src/nostalgia/studio/projectexplorer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nostalgia/studio/projectexplorer.cpp b/src/nostalgia/studio/projectexplorer.cpp index 0c9dca04..3e2b68ba 100644 --- a/src/nostalgia/studio/projectexplorer.cpp +++ b/src/nostalgia/studio/projectexplorer.cpp @@ -47,7 +47,7 @@ void ProjectExplorer::draw(core::Context *ctx) noexcept { | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoSavedSettings; ImGui::Begin("ProjectExplorer", nullptr, flags); - ImGui::SetNextTreeNodeOpen(true); + ImGui::SetNextItemOpen(true); if (m_treeModel) { m_treeModel->draw(ctx); }