Browse Source

Fixed ManyToManyGrid CreateItem()

Kenric Nugteren 1 year ago
parent
commit
1750e76763
1 changed files with 1 additions and 1 deletions
  1. 1 1
      inabox.wpf/DynamicGrid/DynamicManyToManyGrid.cs

+ 1 - 1
inabox.wpf/DynamicGrid/DynamicManyToManyGrid.cs

@@ -335,7 +335,7 @@ namespace InABox.DynamicGrid
             var result = new TManyToMany();
             var result = new TManyToMany();
             if (Item != null)
             if (Item != null)
             {
             {
-                var prop = GetOtherLink(result);
+                var prop = GetThisLink(result);
                 prop.ID = Item.ID;
                 prop.ID = Item.ID;
                 prop.Synchronise(Item);
                 prop.Synchronise(Item);
             }
             }