[gnome-contacts] ContactsEditorProperty: Make sure the Postal Address EditorPropertyRow "is_empty" value is properly



commit 2f7daac6d4bca99487efd72fe25e1af124e63e75
Author: Alaric Senat <asenat student 42 fr>
Date:   Thu Sep 3 22:21:18 2020 +0200

    ContactsEditorProperty: Make sure the Postal Address EditorPropertyRow "is_empty" value is properly set

 src/contacts-editor-property.vala | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/contacts-editor-property.vala b/src/contacts-editor-property.vala
index ad8ef310..0a908cab 100644
--- a/src/contacts-editor-property.vala
+++ b/src/contacts-editor-property.vala
@@ -616,6 +616,8 @@ public class Contacts.EditorProperty : ArrayList<EditorPropertyRow> {
     var value_address = new AddressEditor (details);
     box.container.pack_start (value_address);
 
+    box.is_empty = value_address.is_empty ();
+
     box.add_base_delete (details_set, details);
 
     value_address.changed.connect (() => {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]