diff options
Diffstat (limited to 'src/gui/didyouknowwindow.cpp')
-rw-r--r-- | src/gui/didyouknowwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/didyouknowwindow.cpp b/src/gui/didyouknowwindow.cpp index 338b70bf2..4c8a96e51 100644 --- a/src/gui/didyouknowwindow.cpp +++ b/src/gui/didyouknowwindow.cpp @@ -70,7 +70,8 @@ DidYouKnowWindow::DidYouKnowWindow() : setResizable(true); setStickyButtonLock(true); - setupWindow->registerWindowForReset(this); + if (setupWindow) + setupWindow->registerWindowForReset(this); setDefaultSize(500, 400, ImageRect::CENTER); mBrowserBox->setOpaque(false); |