Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/08/18 12:45:15 (7 years ago)
Author:
jzenisek
Message:

#2839

  • minor bugfix in HiveService.cs
  • corrected behavior of ProjectPermissionsView
Location:
branches/HiveProjectManagement/HeuristicLab.Clients.Access.Views/3.3/UserViews
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HiveProjectManagement/HeuristicLab.Clients.Access.Views/3.3/UserViews/LightweightUserView.cs

    r14185 r15580  
    5959      base.SetEnabledStateOfControls();
    6060      this.showDetailsCheckBox.Enabled = false;
     61      bool enabled = Content != null && !Locked;
     62      addButton.Enabled = enabled;
     63      removeButton.Enabled = enabled;
     64      moveDownButton.Enabled = enabled;
     65      moveUpButton.Enabled = enabled;
    6166    }
    6267
  • branches/HiveProjectManagement/HeuristicLab.Clients.Access.Views/3.3/UserViews/RefreshableLightweightUserView.cs

    r14185 r15580  
    5858    }
    5959
     60    protected override void SetEnabledStateOfControls() {
     61      base.SetEnabledStateOfControls();
     62      refreshButton.Enabled = FetchSelectedUsers != null && Content != null;
     63      lightweightUserView.Locked = Locked;
     64    }
     65
    6066    protected override void RefreshData() {
    6167      Action completeRefreshAction = new Action(delegate {
     
    7985        if (lightweightUserView.Content != null) OnStorableStateChanged();
    8086      }
    81     }
    82 
    83     protected override void SetEnabledStateOfControls() {
    84       base.SetEnabledStateOfControls();
    85       refreshButton.Enabled = FetchSelectedUsers != null && Content != null;
    8687    }
    8788
Note: See TracChangeset for help on using the changeset viewer.