Commit 6c462cb6 authored by Gustavo  Rodrigues's avatar Gustavo Rodrigues Committed by Christoph Cullmann
Browse files

fix selected option when filtering in quick open

parent 249e5c46
Pipeline #92808 passed with stage
in 3 minutes and 9 seconds
......@@ -305,7 +305,7 @@ bool KateQuickOpen::eventFilter(QObject *obj, QEvent *event)
void KateQuickOpen::reselectFirst()
{
int first = 0;
if (m_mainWindow->viewManager()->sortedViews().size() > 1 && m_model->rowCount() > 1) {
if (m_mainWindow->viewManager()->sortedViews().size() > 1 && m_model->rowCount() > 1 && m_inputLine->text().isEmpty()) {
first = 1;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment