Skip to content
Snippets Groups Projects
Commit ec4c37a0 authored by Julien Michel's avatar Julien Michel
Browse files

BUG: Fixing a bug in the widget controller

parent dd6e1451
Branches
Tags
No related merge requests found
......@@ -66,7 +66,8 @@ int ImageWidgetController::HandleWidgetEvent(std::string widgetId, int event)
// Get the current handler
handler = it.Get();
// Check if it listens to (widget,event)
found = found || handler->HandleWidgetEvent(widgetId,event);
bool newFound = handler->HandleWidgetEvent(widgetId,event);
found = found || newFound;
++it;
}
// If an handler was found, use it
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment