void SetUpgradeInProgress(bool inProgress) { foreach (var task in PerformableTasks.ActiveTasks) { ((UpgradeTask)task.Value).UpgradeInProgress = inProgress; } SelectionHandler.Reselect(); // hack: force a redraw in the ui }
void SetUpgradeInProgress(bool inProgress) { foreach (var task in PerformableTasks.ActiveTasks) { ((UpgradeTask)task.Value).UpgradeInProgress = inProgress; } SelectionHandler.Reselect(); // hack: force a redraw in the ui }