diff --git a/lib/view/window/family_tree/family_tree_add.dart b/lib/view/window/family_tree/family_tree_add.dart index d1e83d6..abaf11c 100644 --- a/lib/view/window/family_tree/family_tree_add.dart +++ b/lib/view/window/family_tree/family_tree_add.dart @@ -88,7 +88,9 @@ class ChildToParentAddState extends State { Consumer(builder: ((context, childToParentForm, child) { if (childToParentForm.child != null && - childToParentForm.parent != null) { + childToParentForm.parent != null && + childToParentForm.child != + childToParentForm.parent) { return ElevatedButton( onPressed: () { update(