Changeset 8109 for trunk/sources
- Timestamp:
- 06/25/12 20:16:37 (12 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobView.cs
r8090 r8109 154 154 this.jobsTreeView.ReadOnly = !Content.IsControllable || Content.ExecutionState != ExecutionState.Prepared || alreadyUploaded; 155 155 156 this.isPrivilegedCheckBox.Enabled = Content.IsAllowedPrivileged && Content.IsControllable && !(Content.ExecutionState != ExecutionState.Prepared || alreadyUploaded); // TODO: check if user has the rights to do this 156 this.isPrivilegedCheckBox.Enabled = Content.IsAllowedPrivileged && Content.IsControllable && !(Content.ExecutionState != ExecutionState.Prepared || alreadyUploaded); // TODO: check if user has the rights to do this 157 157 this.refreshAutomaticallyCheckBox.Enabled = Content.IsControllable && alreadyUploaded && jobsLoaded && Content.ExecutionState == ExecutionState.Started; 158 158 this.refreshButton.Enabled = Content.IsDownloadable && alreadyUploaded; … … 342 342 foreach (Resource resource in hiveResourceSelectorDialog.GetSelectedResources()) { 343 343 sb.Append(resource.Name); 344 sb.Append("; 344 sb.Append(";"); 345 345 } 346 346 resourceNamesTextBox.Text = sb.ToString(); -
trunk/sources/HeuristicLab.Clients.Hive/3.3/HiveClient.cs
r7582 r8109 493 493 private static IEnumerable<string> ToResourceNameList(string resourceNames) { 494 494 if (!string.IsNullOrEmpty(resourceNames)) { 495 return resourceNames.Split( ';');495 return resourceNames.Split(new[] { ';' }, StringSplitOptions.RemoveEmptyEntries); 496 496 } else { 497 497 return new List<string>();
Note: See TracChangeset
for help on using the changeset viewer.