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.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/terraform_gui.cpp b/src/terraform_gui.cpp
index 35714f81d..1fee3d21c 100644
--- a/src/terraform_gui.cpp
+++ b/src/terraform_gui.cpp
@@ -660,7 +660,8 @@ struct ScenarioEditorLandscapeGenerationWindow : Window {
this->GetWidget<NWidgetCore>(ETTW_PLACE_DESERT_LIGHTHOUSE)->tool_tip = (_settings_game.game_creation.landscape == LT_TROPIC) ? STR_TERRAFORM_TOOLTIP_DEFINE_DESERT_AREA : STR_TERRAFORM_TOOLTIP_PLACE_LIGHTHOUSE;
}
- virtual void OnPaint() {
+ virtual void OnPaint()
+ {
this->DrawWidgets();
if (this->IsWidgetLowered(ETTW_LOWER_LAND) || this->IsWidgetLowered(ETTW_RAISE_LAND)) { // change area-size if raise/lower corner is selected