mirror of https://github.com/procxx/kepka.git
Fix validation of created poll.
This commit is contained in:
parent
1d85416434
commit
9aa597d6f0
|
@ -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…
Reference in New Issue