From fb035bb95af06f2713c6499dc9ebc82b315b8d86 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 29 Nov 2015 21:54:14 +0100 Subject: Fix logic wierdness. --- plugingui/eventhandler.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'plugingui') diff --git a/plugingui/eventhandler.cc b/plugingui/eventhandler.cc index 68f7f46..9a6fa8d 100644 --- a/plugingui/eventhandler.cc +++ b/plugingui/eventhandler.cc @@ -179,11 +179,8 @@ void EventHandler::processEvents() buttonEvent->y -= widget->windowY(); widget->buttonEvent(buttonEvent); - break; - } - else // Direction::down - { window.setButtonDownFocus(nullptr); + break; } } -- cgit v1.2.3