From d80c20af39ab05e691b274a0e0cf635b894c99a3 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sat, 27 Jan 2024 19:06:17 +0000 Subject: [PATCH] Fix #11889: ConstructWindow not called from SurveyResultTextfileWindow constructor --- src/network/network_gui.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index 8d4d579b3e..a228bedb82 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -2568,6 +2568,8 @@ struct SurveyResultTextfileWindow : public TextfileWindow { SurveyResultTextfileWindow(TextfileType file_type) : TextfileWindow(file_type) { + this->ConstructWindow(); + auto result = _survey.CreatePayload(NetworkSurveyHandler::Reason::PREVIEW, true); this->LoadText(result); this->InvalidateData();