Ver Fonte

Fixed menu images in cross tab.

Kenric Nugteren há 1 ano atrás
pai
commit
8fb76f2907
1 ficheiros alterados com 2 adições e 2 exclusões
  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>())
                 {
-                    menu.AddItem("Delete Item", Wpf.Resources.pencil, obj, DeleteCell);
+                    menu.AddItem("Delete Item", Wpf.Resources.delete, obj, DeleteCell);
                 }
             }
             else
             {
                 if (Security.CanEdit<TManyToMany>())
                 {
-                    menu.AddItem("Create Item", Wpf.Resources.pencil, (colID, rowID), CreateCell);
+                    menu.AddItem("Create Item", Wpf.Resources.add, (colID, rowID), CreateCell);
                 }
             }