def update_check(self, check, check_status): # If there are any errors, disable the save button self._saveButton.set_sensitive(not next(self.failed_checks, None)) return GUIDialog.update_check(self, check, check_status)