mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Fix validation of created poll.
This commit is contained in:
parent
1d85416434
commit
9aa597d6f0
1 changed files with 1 additions and 1 deletions
|
@ -546,10 +546,10 @@ void Options::enableChooseCorrect(bool enabled) {
|
|||
_chooseCorrectGroup = enabled
|
||||
? createChooseCorrectGroup()
|
||||
: nullptr;
|
||||
validateState();
|
||||
for (auto &option : _list) {
|
||||
option->enableChooseCorrect(_chooseCorrectGroup);
|
||||
}
|
||||
validateState();
|
||||
}
|
||||
|
||||
bool Options::correctShadows() const {
|
||||
|
|
Loading…
Add table
Reference in a new issue