diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/plugins/General/library/librarywidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/General/library/librarywidget.cpp b/src/plugins/General/library/librarywidget.cpp index f7f3f126b..8ee8c6ab3 100644 --- a/src/plugins/General/library/librarywidget.cpp +++ b/src/plugins/General/library/librarywidget.cpp @@ -120,7 +120,7 @@ void LibraryWidget::on_filterLineEdit_textChanged(const QString &text) { m_model->setFilter(text); m_model->refresh(); - if(text.count() >= 3) + if(m_model->rowCount() <= 4) m_ui->treeView->expandAll(); } |
