summaryrefslogtreecommitdiff
path: root/src/gui/helpwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/helpwindow.cpp')
-rw-r--r--src/gui/helpwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/helpwindow.cpp b/src/gui/helpwindow.cpp
index d41f8a550..f6064d58a 100644
--- a/src/gui/helpwindow.cpp
+++ b/src/gui/helpwindow.cpp
@@ -63,7 +63,8 @@ HelpWindow::HelpWindow() :
setResizable(true);
setStickyButtonLock(true);
- setupWindow->registerWindowForReset(this);
+ if (setupWindow)
+ setupWindow->registerWindowForReset(this);
setDefaultSize(500, 400, ImageRect::CENTER);