multiple choices questions now allow for no answer at all
This commit is contained in:
parent
f7af75b0b8
commit
4a8a80a206
1 changed files with 4 additions and 0 deletions
|
@ -102,6 +102,10 @@ class BaseChoiceQuestion(BaseSurvey):
|
||||||
# add the navigation
|
# add the navigation
|
||||||
self._layout.addWidget(self.navigation)
|
self._layout.addWidget(self.navigation)
|
||||||
|
|
||||||
|
if not self.are_buttons_exclusive():
|
||||||
|
# if the buttons are not exclusive, allow to select no options
|
||||||
|
self.navigation.show_forward()
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_dict(cls, data: dict[str, Any], signals: dict[str, pyqtSignal]) -> "BaseChoiceQuestion":
|
def from_dict(cls, data: dict[str, Any], signals: dict[str, pyqtSignal]) -> "BaseChoiceQuestion":
|
||||||
return cls(
|
return cls(
|
||||||
|
|
Loading…
Reference in a new issue