summaryrefslogtreecommitdiff
path: root/src/console_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/console_gui.cpp')
-rw-r--r--src/console_gui.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/console_gui.cpp b/src/console_gui.cpp
index 731073866..e5d80fcba 100644
--- a/src/console_gui.cpp
+++ b/src/console_gui.cpp
@@ -185,10 +185,11 @@ struct IConsoleWindow : Window
ResizeWindow(this, _screen.width, _screen.height / 3);
}
- ~IConsoleWindow()
+ void Close() override
{
_iconsole_mode = ICONSOLE_CLOSED;
VideoDriver::GetInstance()->EditBoxLostFocus();
+ this->Window::Close();
}
/**