diff -r 46448d38885c -r d499b29d7cb6 ui/common/types.c --- a/ui/common/types.c Sat Nov 11 08:34:06 2017 +0100 +++ b/ui/common/types.c Sat Nov 11 11:59:06 2017 +0100 @@ -285,19 +285,23 @@ void uic_int_save(UiInteger *i) { + if(!i->obj) return; i->value = i->get(i); } void uic_string_save(UiString *s) { + if(!s->obj) return; s->get(s); } void uic_text_save(UiText *t) { + if(!t->obj) return; t->get(t); t->position(t); } void uic_range_save(UiRange *r) { + if(!r->obj) return; r->get(r); }