summaryrefslogtreecommitdiff
path: root/src/gui/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/window.cpp')
-rw-r--r--src/gui/window.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/window.cpp b/src/gui/window.cpp
index 13d42c78..1960d6ca 100644
--- a/src/gui/window.cpp
+++ b/src/gui/window.cpp
@@ -113,6 +113,9 @@ Window::Window(const std::string& caption, bool modal, Window *parent):
{
requestModalFocus();
}
+
+ // Windows are invisible by default
+ setVisible(false);
}
Window::~Window()