From 13cb0521fa4fd692f66a89c83ef17b7e3ea339bb Mon Sep 17 00:00:00 2001 From: Jani Mustonen Date: Fri, 3 Nov 2017 08:54:17 +0200 Subject: Improvements to the quick switcher (#109) - Ghetto disambiguation for the quick switcher - Fix the Ctrl+K shortcut - Fix keyboard focus when the quick switcher is closed fixes #114 --- src/TextInputWidget.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/TextInputWidget.cc') diff --git a/src/TextInputWidget.cc b/src/TextInputWidget.cc index 7ebef6b1..e68b1c28 100644 --- a/src/TextInputWidget.cc +++ b/src/TextInputWidget.cc @@ -259,3 +259,9 @@ TextInputWidget::stopTyping() { input_->stopTyping(); } + +void +TextInputWidget::focusInEvent(QFocusEvent *event) +{ + input_->setFocus(event->reason()); +} -- cgit 1.5.1