mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
adw_breakpoint: Fix crash in language server
Fix a crash that happened when an AdwBreakpointSetter rule was incomplete, such as when you're still typing it. Fixes #189.
This commit is contained in:
parent
cc09f3d3bb
commit
f50b898e4c
2 changed files with 9 additions and 3 deletions
|
@ -308,6 +308,9 @@ class XmlOutput(OutputFormat):
|
|||
|
||||
elif isinstance(extension, AdwBreakpointSetters):
|
||||
for setter in extension.setters:
|
||||
if setter.value is None:
|
||||
continue
|
||||
|
||||
attrs = {}
|
||||
|
||||
if isinstance(setter.value.child, Translated):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue