mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-15 10:00:51 -04:00
made next unread post arrow also work when no post is selected
This commit is contained in:
parent
983ac7dda9
commit
34f51fff9c
1 changed files with 3 additions and 0 deletions
|
@ -1323,6 +1323,9 @@ void GxsForumThreadWidget::nextUnreadMessage()
|
||||||
{
|
{
|
||||||
QModelIndex index = getCurrentIndex();
|
QModelIndex index = getCurrentIndex();
|
||||||
|
|
||||||
|
if(!index.isValid())
|
||||||
|
index = mThreadProxyModel->index(0,0);
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
if(index.data(RsGxsForumModel::UnreadChildrenRole).toBool())
|
if(index.data(RsGxsForumModel::UnreadChildrenRole).toBool())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue