Fix no votes label.

This commit is contained in:
John Preston 2018-12-23 20:37:32 +04:00
parent de4a477686
commit a142a2717c
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ void HistoryPoll::updateVotesCheckAnimations() const {
} }
void HistoryPoll::updateTotalVotes() const { void HistoryPoll::updateTotalVotes() const {
if (_totalVotes == _poll->totalVoters) { if (_totalVotes == _poll->totalVoters && !_totalVotesLabel.isEmpty()) {
return; return;
} }
_totalVotes = _poll->totalVoters; _totalVotes = _poll->totalVoters;