aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/widget.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/widget.cpp b/gui/widget.cpp
index 6b5095f89e..27cae0123d 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)