mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-19 04:50:16 +01:00
Copy the character that triggered a search box focus into the search box.
This commit is contained in:
parent
501baa6597
commit
83f1aa9252
@ -421,7 +421,7 @@ void PlaylistContainer::resizeEvent(QResizeEvent* e) {
|
|||||||
|
|
||||||
void PlaylistContainer::FocusOnFilter(QKeyEvent *event) {
|
void PlaylistContainer::FocusOnFilter(QKeyEvent *event) {
|
||||||
ui_->filter->setFocus();
|
ui_->filter->setFocus();
|
||||||
QApplication::sendEvent(ui_->filter, event);
|
ui_->filter->setText(ui_->filter->text() + event->text());
|
||||||
}
|
}
|
||||||
|
|
||||||
void PlaylistContainer::RepositionNoMatchesLabel(bool force) {
|
void PlaylistContainer::RepositionNoMatchesLabel(bool force) {
|
||||||
|
Loading…
Reference in New Issue
Block a user