Ignore:
Timestamp:
Oct 3, 2011, 5:09:51 PM (13 years ago)
Author:
bayral
Message:

rename category to Albums

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/PiwigoLib/PiwigoWpf/DTO/Helper/PwgImageWPFHelper.cs

    r11904 r12336  
    2828                aPwgImageWPF.Width = aPwgImage.Width;
    2929
    30                 if (aPwgImageWPF.Categories == null)
     30                if (aPwgImageWPF.Albums == null)
    3131                {
    32                     aPwgImageWPF.Categories = new System.Collections.ObjectModel.ObservableCollection<PwgCategoryWPF>();
     32                    aPwgImageWPF.Albums = new System.Collections.ObjectModel.ObservableCollection<PwgAlbumWPF>();
    3333                }
    3434                else
    3535                {
    36                     aPwgImageWPF.Categories.Clear();
     36                    aPwgImageWPF.Albums.Clear();
    3737                }
    3838
    39                 foreach (PwgCategoryWPF c in aPwgImageWPF.Categories)
     39                foreach (PwgAlbumWPF c in aPwgImageWPF.Albums)
    4040                {
    41                     aPwgImageWPF.Categories.Add(c);
     41                    aPwgImageWPF.Albums.Add(c);
    4242                }
    4343
Note: See TracChangeset for help on using the changeset viewer.