mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 07:59:35 -05:00
fixed restoring of current item
This commit is contained in:
parent
5b8a64b677
commit
49ea154490
@ -1679,7 +1679,7 @@ void GxsForumThreadWidget::postForumLoading()
|
||||
if(!mThreadId.isNull() && indx.isValid())
|
||||
{
|
||||
QModelIndex index = mThreadProxyModel->mapFromSource(indx);
|
||||
ui->threadTreeWidget->selectionModel()->select(index,QItemSelectionModel::SelectCurrent | QItemSelectionModel::Rows);
|
||||
ui->threadTreeWidget->selectionModel()->setCurrentIndex(index,QItemSelectionModel::SelectCurrent | QItemSelectionModel::Rows);
|
||||
|
||||
std::cerr << " re-selecting index of message " << mThreadId << " to " << indx.row() << "," << indx.column() << " " << (void*)indx.internalPointer() << std::endl;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user