diff --git a/src/qt/forms/voting/pollcard.ui b/src/qt/forms/voting/pollcard.ui index 112505846d..2bad4f8d81 100644 --- a/src/qt/forms/voting/pollcard.ui +++ b/src/qt/forms/voting/pollcard.ui @@ -298,6 +298,13 @@ + + + + Stale + + + diff --git a/src/qt/voting/pollcard.cpp b/src/qt/voting/pollcard.cpp index b08df8c9e6..6680209bdd 100644 --- a/src/qt/voting/pollcard.cpp +++ b/src/qt/voting/pollcard.cpp @@ -83,6 +83,12 @@ PollCard::PollCard(const PollItem& poll_item, QWidget* parent) ui->invalidLabel->show(); } + if (poll_item.m_stale) { + ui->staleLabel->show(); + } else { + ui->staleLabel->hide(); + } + ui->topAnswerLabel->setText(poll_item.m_top_answer); if (!poll_item.m_finished) {