Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/23/18 14:44:04 (6 years ago)
Author:
jzenisek
Message:

#2839: fixed several bugs in resource selector

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2839_HiveProjectManagement/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobView.cs

    r15913 r15914  
    411411      } else {
    412412        HiveClient.StartJob((Exception ex) => ErrorHandling.ShowErrorDialog(this, "Start failed.", ex), Content, new CancellationToken());
     413        UpdateSelectorDialog();
    413414      }
    414415    }
     
    473474        }
    474475      }, null);
     476      UpdateSelectorDialog();
    475477    }
    476478
     
    480482        Content,
    481483        new CancellationToken());
     484      UpdateSelectorDialog();
    482485    }
    483486
     
    515518      return HiveServiceLocator.Instance.CallHiveService(s => s.GetProject(projectId));
    516519    }
     520
     521    private void UpdateSelectorDialog() {
     522      if(hiveResourceSelectorDialog != null) {
     523        hiveResourceSelectorDialog = null;
     524        //hiveResourceSelectorDialog.JobId = Content.Job.Id;
     525        //hiveResourceSelectorDialog.SelectedProjectId = Content.Job.ProjectId;
     526        //hiveResourceSelectorDialog.SelectedResourceIds = Content.Job.ResourceIds;
     527      }
     528    }
    517529    #endregion
    518530
Note: See TracChangeset for help on using the changeset viewer.