mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-23 21:25:22 -04:00
attempt to fix default sorting in channel file list
This commit is contained in:
parent
2100c5511d
commit
6c13d4bf4d
1 changed files with 2 additions and 2 deletions
|
@ -917,7 +917,7 @@ void GxsChannelPostsWidgetWithModel::postChannelPostLoad()
|
|||
navigate(mNavigatePendingMsgId);
|
||||
|
||||
else if( (mLastSelectedPosts.count(groupId()) > 0)
|
||||
&& !mLastSelectedPosts[groupId()].isNull())
|
||||
&& !mLastSelectedPosts[groupId()].isNull())
|
||||
{
|
||||
QModelIndex index = mChannelPostsModel->getIndexOfMessage(mLastSelectedPosts[groupId()]);
|
||||
|
||||
|
@ -937,7 +937,7 @@ void GxsChannelPostsWidgetWithModel::postChannelPostLoad()
|
|||
mChannelFilesModel->setFiles(files);
|
||||
|
||||
ui->channelFiles_TV->setAutoSelect(true);
|
||||
ui->channelFiles_TV->sortByColumn(0, Qt::AscendingOrder);
|
||||
ui->channelFiles_TV->sortByColumn(3, Qt::AscendingOrder);
|
||||
|
||||
ui->infoPosts->setText(QString::number(mChannelPostsModel->getNumberOfPosts()) + " / " + QString::number(mGroup.mMeta.mVisibleMsgCount));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue