private void KeyContextMenu(ContextualMenuPopulateEvent ctx, LocalizationTable table, int row) { ctx.menu.AppendAction("Delete", action => { table.RemoveKey(row); Utils.ApplyChanges(table); rootVisualElement.schedule.Execute(RecreateGUI); }); }
private void KeyContextMenu(ContextualMenuPopulateEvent ctx, LocalizationTable table, int row) { ctx.menu.AppendAction("Delete", action => { table.RemoveKey(row); Utils.ApplyChanges(table); rootVisualElement.schedule.Execute(RecreateGUI); }); }