Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/17/12 10:48:26 (11 years ago)
Author:
ascheibe
Message:

#1950 fixed some errors that occurred when the user name was not set correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Access.Views/3.3/UserViews/RefreshableLightweightUserView.cs

    r8141 r9063  
    7575      base.Content_Refreshed(sender, e);
    7676
    77       lightweightUserView.Content = new ItemList<UserGroupBase>(Content.UsersAndGroups.Where(x => selectedUsers.Contains(x.Id)));
    78       if (lightweightUserView.Content != null) OnStorableStateChanged();
     77      if (Content.UsersAndGroups != null) {
     78        lightweightUserView.Content = new ItemList<UserGroupBase>(Content.UsersAndGroups.Where(x => selectedUsers.Contains(x.Id)));
     79        if (lightweightUserView.Content != null) OnStorableStateChanged();
     80      }
    7981    }
    8082
Note: See TracChangeset for help on using the changeset viewer.