Setted ZakFormElements as original value after load.
authorAndrea Zagli <azagli@libero.it>
Thu, 3 Dec 2015 15:36:06 +0000 (16:36 +0100)
committerAndrea Zagli <azagli@libero.it>
Thu, 3 Dec 2015 15:36:06 +0000 (16:36 +0100)
src/form.c

index 93b7381675e139e4768ee3cc1c1faae5069ae779..47461982074004d549c26a746f189e7b089d366e 100644 (file)
@@ -265,6 +265,7 @@ zak_form_gdaex_provider_load (ZakFormIProvider *provider, GPtrArray *elements)
                                                {
                                                        zak_form_element_set_value (element,
                                                                                                                gdaex_data_model_get_field_value_stringify_at (dm, 0, zak_form_element_get_name (element)));
+                                                       zak_form_element_set_as_original_value (element);
                                                }
                                }
                }