diff options
author | Paul Gilbert | 2015-07-31 22:09:23 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-07-31 22:09:23 -0400 |
commit | 86e9bb1f65171721aca3ccc086df29011effe3d0 (patch) | |
tree | 71e4f0bbf4aa43838fb8f3d537a5b1b63e119966 /engines | |
parent | a567c21633b5124283a13282603826266b0f9fcf (diff) | |
download | scummvm-rg350-86e9bb1f65171721aca3ccc086df29011effe3d0.tar.gz scummvm-rg350-86e9bb1f65171721aca3ccc086df29011effe3d0.tar.bz2 scummvm-rg350-86e9bb1f65171721aca3ccc086df29011effe3d0.zip |
SHERLOCK: RT: Fix closing Verbs menu by clicking outside it
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sherlock/tattoo/widget_verbs.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sherlock/tattoo/widget_verbs.cpp b/engines/sherlock/tattoo/widget_verbs.cpp index 3cdd1247c1..7c9f723f66 100644 --- a/engines/sherlock/tattoo/widget_verbs.cpp +++ b/engines/sherlock/tattoo/widget_verbs.cpp @@ -196,10 +196,11 @@ void WidgetVerbs::handleEvents() { // Call the Routine to turn on the Commands for this Object load(!noDesc); } else { - // Free the current menu graphics & erase the menu + // Close the window and clear the events banishWindow(); + events.clearEvents(); - // See if we're in a Lab Table Room + // Reset the active UI mode ui._menuMode = scene._labTableScene ? LAB_MODE : STD_MODE; } } |