mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
made next unread post arrow also work when no post is selected
This commit is contained in:
parent
983ac7dda9
commit
34f51fff9c
@ -1323,6 +1323,9 @@ void GxsForumThreadWidget::nextUnreadMessage()
|
||||
{
|
||||
QModelIndex index = getCurrentIndex();
|
||||
|
||||
if(!index.isValid())
|
||||
index = mThreadProxyModel->index(0,0);
|
||||
|
||||
do
|
||||
{
|
||||
if(index.data(RsGxsForumModel::UnreadChildrenRole).toBool())
|
||||
|
Loading…
Reference in New Issue
Block a user