mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Fix validation of created poll.
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user