mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-11 19:54:03 +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;
|
return;
|
||||||
|
|
||||||
if (state) {
|
if (state) {
|
||||||
|
if (!_guiManager->getTopDialog())
|
||||||
|
return;
|
||||||
|
|
||||||
Widget *wdg = _guiManager->getTopDialog()->findWidget(_mouseX, _mouseY);
|
Widget *wdg = _guiManager->getTopDialog()->findWidget(_mouseX, _mouseY);
|
||||||
|
|
||||||
if (!wdg)
|
if (!wdg)
|
||||||
|
Loading…
Reference in New Issue
Block a user