diff --git a/frontend/view/result-view.cpp b/frontend/view/result-view.cpp index 911f084..f444bce 100644 --- a/frontend/view/result-view.cpp +++ b/frontend/view/result-view.cpp @@ -282,10 +282,10 @@ void ResultView::onRowSelectedSlot(const QModelIndex &index) void ResultView::onItemListChanged(const int &count) { m_count = count; - Q_EMIT this->listLengthChanged(count); QModelIndex index = this->currentIndex(); m_model->refresh(); this->setCurrentIndex(index); + Q_EMIT this->listLengthChanged(count); } void ResultView::setExpanded(const bool &is_expanded)