From 86e9bb1f65171721aca3ccc086df29011effe3d0 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 31 Jul 2015 22:09:23 -0400 Subject: SHERLOCK: RT: Fix closing Verbs menu by clicking outside it --- engines/sherlock/tattoo/widget_verbs.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'engines/sherlock/tattoo/widget_verbs.cpp') 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; } } -- cgit v1.2.3