Fix #11889: ConstructWindow not called from SurveyResultTextfileWindow constructor (#11903)

This commit is contained in:
Jonathan G Rennison
2024-01-27 19:44:10 +00:00
committed by GitHub
parent 250cf4f153
commit 1df7b21ee3

View File

@@ -2568,6 +2568,8 @@ struct SurveyResultTextfileWindow : public TextfileWindow {
SurveyResultTextfileWindow(TextfileType file_type) : TextfileWindow(file_type) SurveyResultTextfileWindow(TextfileType file_type) : TextfileWindow(file_type)
{ {
this->ConstructWindow();
auto result = _survey.CreatePayload(NetworkSurveyHandler::Reason::PREVIEW, true); auto result = _survey.CreatePayload(NetworkSurveyHandler::Reason::PREVIEW, true);
this->LoadText(result); this->LoadText(result);
this->InvalidateData(); this->InvalidateData();