From 8779303845141ae94181b29d1f1d3ae496efd596 Mon Sep 17 00:00:00 2001 From: Iulian Onofrei Date: Sun, 11 Apr 2021 16:37:53 +0300 Subject: [PATCH] Fixed search field not being focused on popup open (#2540) Co-authored-by: pajlada --- CHANGELOG.md | 1 + src/widgets/helper/SearchPopup.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0adf42f9..ffc9b9d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -83,6 +83,7 @@ - Bugfix: Fix anonymous users being pinged by "username" justinfan64537 (#2156, #2352) - Bugfix: Fixed hidden tooltips when always on top is active (#2384) - Bugfix: Fix CLI arguments (`--help`, `--version`, `--channels`) not being respected (#2368, #2190) +- Bugfix: Fixed search field not being focused on popup open (#2540) - Bugfix: Fix Twitch cheer emotes not displaying tooltips when hovered (#2434, #2503) - Bugfix: Fix BTTV/FFZ channel emotes saying unknown error when no emotes found (#2542) - Bugfix: Fix directory not opening when clicking "Open AppData Directory" setting button on macOS (#2531, #2537) diff --git a/src/widgets/helper/SearchPopup.cpp b/src/widgets/helper/SearchPopup.cpp index f805f339..a0b54da8 100644 --- a/src/widgets/helper/SearchPopup.cpp +++ b/src/widgets/helper/SearchPopup.cpp @@ -155,6 +155,8 @@ void SearchPopup::initLayout() this->setLayout(layout1); } + + this->searchInput_->setFocus(); } std::vector> SearchPopup::parsePredicates(