mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 15:39:27 -05:00
gxsforums: enable next unread button even for blank (missing) post
This commit is contained in:
parent
ee967c2bc0
commit
98cf944f92
@ -1126,6 +1126,7 @@ void GxsForumThreadWidget::insertMessage()
|
||||
|
||||
/* blank text, incase we get nothing */
|
||||
blankPost();
|
||||
ui->nextUnreadButton->setEnabled(true);
|
||||
|
||||
// We use this instead of getCurrentIndex() because right here the currentIndex() is not set yet.
|
||||
|
||||
@ -1241,7 +1242,8 @@ void GxsForumThreadWidget::insertMessageData(const RsGxsForumMsg &msg)
|
||||
rsReputations->overallReputationLevel(msg.mMeta.mAuthorId);
|
||||
bool redacted =
|
||||
(overall_reputation == RsReputationLevel::LOCALLY_NEGATIVE);
|
||||
|
||||
|
||||
// TODO enabled even when there are no new message
|
||||
ui->nextUnreadButton->setEnabled(true);
|
||||
ui->lineLeft->show();
|
||||
ui->time_label->setText(DateTime::formatLongDateTime(msg.mMeta.mPublishTs));
|
||||
|
Loading…
Reference in New Issue
Block a user