diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/genworld_gui.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp index 9f9939d62..aa3c513b5 100644 --- a/src/genworld_gui.cpp +++ b/src/genworld_gui.cpp @@ -789,6 +789,17 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow { } } + virtual void OnTimeout() + { + static const int raise_widgets[] = {GLAND_START_DATE_DOWN, GLAND_START_DATE_UP, GLAND_SNOW_LEVEL_UP, GLAND_SNOW_LEVEL_DOWN, WIDGET_LIST_END}; + for (const int *widget = raise_widgets; *widget != WIDGET_LIST_END; widget++) { + if (this->IsWidgetLowered(*widget)) { + this->RaiseWidget(*widget); + this->InvalidateWidget(*widget); + } + } + } + virtual void OnMouseLoop() { this->HandleEditBox(GLAND_RANDOM_EDITBOX); |