diff options
-rw-r--r-- | editor/dconf-view.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/dconf-view.vala b/editor/dconf-view.vala index 184f9bb..1725af1 100644 --- a/editor/dconf-view.vala +++ b/editor/dconf-view.vala @@ -39,7 +39,7 @@ private class KeyValueRenderer: Gtk.CellRenderer spin_renderer.text = key.value.print(false); var v = get_variant_as_double(key.value); double min = 0.0, max = 0.0; - if (key.schema.range != null) + if (key.schema != null && key.schema.range != null) { min = get_variant_as_double(key.schema.range.min); max = get_variant_as_double(key.schema.range.max); |