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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/window.cpp b/src/gui/window.cpp
index be63ff21..4bc0e4d0 100644
--- a/src/gui/window.cpp
+++ b/src/gui/window.cpp
@@ -120,7 +120,7 @@ Window::~Window()
const std::string &name = mWindowName;
// Saving X, Y and Width and Height for resizables in the config
- if (!name.empty())
+ if (!name.empty() && name != "window")
{
config.setValue(name + "WinX", getX());
config.setValue(name + "WinY", getY());