From 3103ca89d911623dfb3daa5e7c352221d15eb7a3 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Tue, 18 Feb 2020 11:54:57 +0100 Subject: filter: on show focus on fulltext-field After pressing CTRL-F let the user immediately enter a search string. Signed-off-by: Berthold Stoeger --- desktop-widgets/filterwidget2.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop-widgets/filterwidget2.cpp b/desktop-widgets/filterwidget2.cpp index 0e44a6bde..2dee9979b 100644 --- a/desktop-widgets/filterwidget2.cpp +++ b/desktop-widgets/filterwidget2.cpp @@ -264,6 +264,7 @@ void FilterWidget2::updatePlanned(int value) void FilterWidget2::showEvent(QShowEvent *event) { QWidget::showEvent(event); + ui.fullText->setFocus(); filterDataChanged(filterData); } -- cgit v1.2.3-70-g09d2