Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/21/11 20:33:50 (12 years ago)
Author:
ascheibe
Message:

#1672 fixed a small bug when refreshing permissions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobView.cs

    r6976 r7029  
    302302    private void Content_ExceptionOccured(object sender, EventArgs<Exception> e) {
    303303      // don't show exception, it is logged anyway
     304      throw e.Value;
    304305    }
    305306    private void Content_StateLogListChanged(object sender, EventArgs e) {
     
    375376
    376377    private void refreshPermissionsButton_Click(object sender, EventArgs e) {
    377       hiveExperimentPermissionListView.Content = HiveClient.GetJobPermissions(this.Content.Job.Id);
     378      if (this.Content.Job.Id == Guid.Empty) {
     379        MessageBox.Show("You have to upload the Job first before you can share it.", "HeuristicLab Hive Job Manager", MessageBoxButtons.OK, MessageBoxIcon.Information);
     380      } else {
     381        hiveExperimentPermissionListView.Content = HiveClient.GetJobPermissions(this.Content.Job.Id);
     382      }
    378383    }
    379384
Note: See TracChangeset for help on using the changeset viewer.