fix a sort bug
This commit is contained in:
parent
5ec5a17fc9
commit
aa6582b503
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue