mirror of https://github.com/procxx/kepka.git
Fix no votes label.
This commit is contained in:
parent
de4a477686
commit
a142a2717c
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue