mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-03 15:41:41 +00:00
GUI: Fix crash.
svn-id: r49784
This commit is contained in:
parent
67bc711580
commit
dc57c68454
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user