summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/settings_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp
index e94f96bc4..2faf2b150 100644
--- a/src/settings_gui.cpp
+++ b/src/settings_gui.cpp
@@ -182,6 +182,7 @@ struct GameOptionsWindow : Window {
~GameOptionsWindow()
{
DeleteWindowById(WC_CUSTOM_CURRENCY, 0);
+ DeleteWindowByClass(WC_TEXTFILE);
if (this->reload) _switch_mode = SM_MENU;
}