Parcourir la source

Fixed menu images in cross tab.

Kenric Nugteren il y a 1 an
Parent
commit
8fb76f2907
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      inabox.wpf/DynamicGrid/DynamicManyToManyCrossTab.cs

+ 2 - 2
inabox.wpf/DynamicGrid/DynamicManyToManyCrossTab.cs

@@ -143,14 +143,14 @@ namespace InABox.DynamicGrid
                 }
                 }
                 if (Security.CanDelete<TManyToMany>())
                 if (Security.CanDelete<TManyToMany>())
                 {
                 {
-                    menu.AddItem("Delete Item", Wpf.Resources.pencil, obj, DeleteCell);
+                    menu.AddItem("Delete Item", Wpf.Resources.delete, obj, DeleteCell);
                 }
                 }
             }
             }
             else
             else
             {
             {
                 if (Security.CanEdit<TManyToMany>())
                 if (Security.CanEdit<TManyToMany>())
                 {
                 {
-                    menu.AddItem("Create Item", Wpf.Resources.pencil, (colID, rowID), CreateCell);
+                    menu.AddItem("Create Item", Wpf.Resources.add, (colID, rowID), CreateCell);
                 }
                 }
             }
             }