From 211657c587fcace38a9d35628824e8bf55873e9b Mon Sep 17 00:00:00 2001 From: Artyom Shalkhakov Date: Fri, 31 Jan 2025 10:52:09 -0700 Subject: [PATCH] Fix reappearing window. - the name of the window passed to ImGui must be stable --- neo/tools/imgui/pdaeditor/PDAEditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/tools/imgui/pdaeditor/PDAEditor.cpp b/neo/tools/imgui/pdaeditor/PDAEditor.cpp index d3d3dabc..d93a6aac 100644 --- a/neo/tools/imgui/pdaeditor/PDAEditor.cpp +++ b/neo/tools/imgui/pdaeditor/PDAEditor.cpp @@ -84,7 +84,7 @@ void PDAEditor::Draw() { showTool = isShown; - if ( ImGui::Begin( windowTitle, &showTool ) ) //, ImGuiWindowFlags_ShowBorders ) ) + if ( ImGui::Begin( "PDA Editor", &showTool, ImGuiWindowFlags_AlwaysAutoResize)) //, ImGuiWindowFlags_ShowBorders ) ) { if ( ImGui::BeginTable( "table", 3 ) ) {