summaryrefslogtreecommitdiff
path: root/src/terraform_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/terraform_gui.cpp')
-rw-r--r--src/terraform_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/terraform_gui.cpp b/src/terraform_gui.cpp
index bd0569197..2947c258a 100644
--- a/src/terraform_gui.cpp
+++ b/src/terraform_gui.cpp
@@ -734,7 +734,7 @@ struct ScenarioEditorLandscapeGenerationWindow : Window {
if (i == ETTW_BUTTONS_START) i = ETTW_BUTTONS_END; // skip the buttons
if (this->IsWidgetLowered(i)) {
this->RaiseWidget(i);
- this->InvalidateWidget(i);
+ this->SetWidgetDirty(i);
}
}
}