1
0
Fork 0

fix a sort bug

This commit is contained in:
lynnux 2016-12-06 16:01:57 +08:00
parent 5ec5a17fc9
commit aa6582b503
1 changed files with 2 additions and 2 deletions

View File

@ -190,6 +190,8 @@ void SearchListView::searchTextChanged(const QString & arg1)
} }
} }
mSearchList->reloadData();
if(!mLastFirstColValue.isEmpty()) if(!mLastFirstColValue.isEmpty())
{ {
rows = mCurList->getRowCount(); rows = mCurList->getRowCount();
@ -219,8 +221,6 @@ void SearchListView::searchTextChanged(const QString & arg1)
mSearchList->highlightText = arg1; mSearchList->highlightText = arg1;
else else
mSearchList->highlightText = ""; mSearchList->highlightText = "";
mSearchList->reloadData();
} }
void SearchListView::refreshSearchList() void SearchListView::refreshSearchList()