diff --git a/gui/widget.cpp b/gui/widget.cpp index 6b5095f89ee..27cae0123db 100644 --- a/gui/widget.cpp +++ b/gui/widget.cpp @@ -260,6 +260,9 @@ void Tooltip::setVisible(bool state) { return; if (state) { + if (!_guiManager->getTopDialog()) + return; + Widget *wdg = _guiManager->getTopDialog()->findWidget(_mouseX, _mouseY); if (!wdg)