mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-07-08 01:39:24 -04:00
Fix crash on incomplete Adw.AlertDialog response
This commit is contained in:
parent
6bef9a39dd
commit
684ed7dc02
2 changed files with 6 additions and 2 deletions
|
@ -364,6 +364,7 @@ class XmlOutput(OutputFormat):
|
|||
elif isinstance(extension, ExtAdwResponseDialog):
|
||||
xml.start_tag("responses")
|
||||
for response in extension.responses:
|
||||
assert response.value is not None
|
||||
xml.start_tag(
|
||||
"response",
|
||||
id=response.id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue