From 463e3447b90428e6fe81604f72caeb975310cd65 Mon Sep 17 00:00:00 2001 From: jixiaoxu Date: Tue, 18 Oct 2022 15:43:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=90=9C=E7=B4=A2=E7=BB=93?= =?UTF-8?q?=E6=9E=9C=E6=95=B0=E6=8D=AE=E9=87=8F=E8=BE=83=E5=A4=A7=E6=97=B6?= =?UTF-8?q?=E5=87=BA=E7=8E=B0=E7=9A=84=E6=90=9C=E7=B4=A2=E7=BB=93=E6=9E=9C?= =?UTF-8?q?=E5=8C=BA=E5=9F=9F=E5=8F=AF=E4=BB=A5=E6=BB=9A=E5=8A=A8=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/view/result-view.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)