Ignore:
Timestamp:
07/04/19 14:47:01 (23 months ago)
Author:
mkommend
Message:

#2839: Merged 16446 into stable.

Location:
stable
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Clients.Hive.Administrator

  • stable/HeuristicLab.Clients.Hive.Administrator/3.3/Views/HiveAdministratorView.cs

    r15584 r17063  
    3737    }
    3838
    39     #region Register Content Events
    40     protected override void DeregisterContentEvents() {
    41       base.DeregisterContentEvents();
    42     }
    43     protected override void RegisterContentEvents() {
    44       base.RegisterContentEvents();
    45     }
    46     #endregion
    47 
    4839    protected override void OnContentChanged() {
    4940      base.OnContentChanged();
    50     }
    51 
    52     protected override void SetEnabledStateOfControls() {
    53       base.SetEnabledStateOfControls();
     41      if (Content != null) {
     42        projectsView.Content = Content.Projects;
     43        resourcesView.Content = Content.Resources;
     44      } else {
     45        projectsView.Content = null;
     46        resourcesView.Content = null;
     47      }
    5448    }
    5549  }
Note: See TracChangeset for help on using the changeset viewer.