Changeset 16066 for branches/2839_HiveProjectManagement/HeuristicLab.Clients.Hive.JobManager/3.3/MenuItems
- Timestamp:
- 08/07/18 16:43:56 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2839_HiveProjectManagement/HeuristicLab.Clients.Hive.JobManager/3.3/MenuItems/RunInHiveMenuItem.cs
r16060 r16066 85 85 task.ItemTask.ComputeInParallel = content is Experiment || content is BatchRun; 86 86 87 var hiveResourceSelectorDialog = new HiveResourceSelectorDialog(rJob.Job.Id, rJob.Job.ProjectId); 88 87 89 if (HiveClient.Instance.Projects.Count == 1) { 88 90 var project = HiveClient.Instance.Projects.FirstOrDefault(); 89 91 if (project != null && project.Id != Guid.Empty) 90 rJob.Job.ProjectId = project.Id;92 hiveResourceSelectorDialog.SelectedProjectId = project.Id; 91 93 } 92 94 93 var hiveResourceSelectorDialog = new HiveResourceSelectorDialog(rJob.Job.Id, rJob.Job.ProjectId);94 95 if (hiveResourceSelectorDialog.ShowDialog((UserControl)activeView) == DialogResult.OK) { 95 96 var selectedProject = hiveResourceSelectorDialog.SelectedProject;
Note: See TracChangeset
for help on using the changeset viewer.