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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -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();