Free cookie consent management tool by TermsFeed Policy Generator

Changeset 16066


Ignore:
Timestamp:
08/07/18 16:43:56 (6 years ago)
Author:
jkarder
Message:

#2839: worked on hive project management

  • improved RunInHiveMenuItem
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2839_HiveProjectManagement/HeuristicLab.Clients.Hive.JobManager/3.3/MenuItems/RunInHiveMenuItem.cs

    r16060 r16066  
    8585      task.ItemTask.ComputeInParallel = content is Experiment || content is BatchRun;
    8686
     87      var hiveResourceSelectorDialog = new HiveResourceSelectorDialog(rJob.Job.Id, rJob.Job.ProjectId);
     88
    8789      if (HiveClient.Instance.Projects.Count == 1) {
    8890        var project = HiveClient.Instance.Projects.FirstOrDefault();
    8991        if (project != null && project.Id != Guid.Empty)
    90           rJob.Job.ProjectId = project.Id;
     92          hiveResourceSelectorDialog.SelectedProjectId = project.Id;
    9193      }
    9294
    93       var hiveResourceSelectorDialog = new HiveResourceSelectorDialog(rJob.Job.Id, rJob.Job.ProjectId);
    9495      if (hiveResourceSelectorDialog.ShowDialog((UserControl)activeView) == DialogResult.OK) {
    9596        var selectedProject = hiveResourceSelectorDialog.SelectedProject;
Note: See TracChangeset for help on using the changeset viewer.