mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
[SearchPopup] CTRL+F now focuses the search input (#1812)
This commit is contained in:
parent
d25dee10b2
commit
382dfbc2fa
|
@ -11,6 +11,7 @@
|
|||
- Minor: Emotes in the emote popup are now sorted in the same order as the tab completion (#1549)
|
||||
- Minor: Removed "Online Logs" functionality as services are shut down (#1640)
|
||||
- Minor: CTRL+F now selects the Find text input field in the Settings Dialog (#1806 #1811)
|
||||
- Minor: CTRL+F now selects the search text input field in the Search Popup (#1812)
|
||||
- Bugfix: Fix preview on hover not working when Animated emotes options was disabled (#1546)
|
||||
- Bugfix: FFZ custom mod badges no longer scale with the emote scale options (#1602)
|
||||
- Bugfix: MacOS updater looked for non-existing fields, causing it to always fail the update check (#1642)
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include "messages/search/AuthorPredicate.hpp"
|
||||
#include "messages/search/LinkPredicate.hpp"
|
||||
#include "messages/search/SubstringPredicate.hpp"
|
||||
#include "util/Shortcut.hpp"
|
||||
#include "widgets/helper/ChannelView.hpp"
|
||||
|
||||
namespace chatterino {
|
||||
|
@ -51,6 +52,11 @@ SearchPopup::SearchPopup()
|
|||
{
|
||||
this->initLayout();
|
||||
this->resize(400, 600);
|
||||
|
||||
createShortcut(this, "CTRL+F", [this] {
|
||||
this->searchInput_->setFocus();
|
||||
this->searchInput_->selectAll();
|
||||
});
|
||||
}
|
||||
|
||||
void SearchPopup::setChannel(const ChannelPtr &channel)
|
||||
|
|
Loading…
Reference in a new issue