diff --git a/imgui.cpp b/imgui.cpp index af0f2fa6..fc561fc7 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -10952,6 +10952,7 @@ static void ImGui::DockNodeUpdate(ImGuiDockNode* node) } if (node->InitFromFirstWindowViewport && node->Windows.Size > 0) SetNextWindowViewport(node->Windows[0]->ViewportId); + SetNextWindowClass(&node->WindowClass); // Begin into the host window char window_label[20];