Fix tabbing in Quick Switcher (#2065)

It was broken in f7237dc due to the migration to the GenericListView approach
This commit is contained in:
Leon Richardt
2020-10-24 10:50:14 +02:00
committed by GitHub
parent 11525e626a
commit 0049a5ebb2
2 changed files with 3 additions and 2 deletions
@@ -65,8 +65,6 @@ void QuickSwitcherPopup::initWidgets()
lineEdit->setPlaceholderText("Jump to a channel or open a new one");
QObject::connect(this->ui_.searchEdit, &QLineEdit::textChanged, this,
&QuickSwitcherPopup::updateSuggestions);
this->ui_.searchEdit->installEventFilter(this);
}
{
@@ -76,6 +74,8 @@ void QuickSwitcherPopup::initWidgets()
QObject::connect(listView.getElement(),
&GenericListView::closeRequested, this,
[this] { this->close(); });
this->ui_.searchEdit->installEventFilter(listView.getElement());
}
}