From 680775d84cbcca8a6c18c2012cb0311dc5889387 Mon Sep 17 00:00:00 2001 From: Artyom Shalkhakov Date: Fri, 31 Jan 2025 11:03:16 -0700 Subject: [PATCH] Bring back dynamic window title. --- neo/tools/imgui/pdaeditor/PDAEditor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neo/tools/imgui/pdaeditor/PDAEditor.cpp b/neo/tools/imgui/pdaeditor/PDAEditor.cpp index d93a6aac..ea930c46 100644 --- a/neo/tools/imgui/pdaeditor/PDAEditor.cpp +++ b/neo/tools/imgui/pdaeditor/PDAEditor.cpp @@ -84,7 +84,8 @@ void PDAEditor::Draw() { showTool = isShown; - if ( ImGui::Begin( "PDA Editor", &showTool, ImGuiWindowFlags_AlwaysAutoResize)) //, ImGuiWindowFlags_ShowBorders ) ) + idStr windowName = windowTitle + "###PDA Editor"; + if ( ImGui::Begin( windowName, &showTool, ImGuiWindowFlags_AlwaysAutoResize)) //, ImGuiWindowFlags_ShowBorders ) ) { if ( ImGui::BeginTable( "table", 3 ) ) {