mirror of https://github.com/OpenTTD/OpenTTD.git
This commit is contained in:
parent
250cf4f153
commit
1df7b21ee3
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue