summaryrefslogtreecommitdiff
path: root/plugingui
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-11-29 21:54:14 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2015-11-29 21:54:14 +0100
commitfb035bb95af06f2713c6499dc9ebc82b315b8d86 (patch)
tree5db88e465f1ebe06086c0973101d94345ab74c75 /plugingui
parent25adc2eeda98d56c641ea6c33c019740fd332f98 (diff)
Fix logic wierdness.
Diffstat (limited to 'plugingui')
-rw-r--r--plugingui/eventhandler.cc5
1 files changed, 1 insertions, 4 deletions
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;
}
}