summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}
}