Skip to content

Commit

Permalink
Tasks are no longer loaded as completed when Loaded or Imported
Browse files Browse the repository at this point in the history
  • Loading branch information
SamHurne committed Mar 7, 2015
1 parent 9a272c8 commit 4092307
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GW2PAO/Modules/Tasks/TasksController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ public void LoadTasksFile(string path)
this.PlayerTasks.Clear();
foreach (var task in (ObservableCollection<PlayerTask>)loadedTasks)
{
task.IsCompleted = false;
this.UserData.Tasks.Add(task);
this.PlayerTasks.Add(new PlayerTaskViewModel(task, this.zoneService, this, this.container));
}
Expand Down Expand Up @@ -304,6 +305,7 @@ public void ImportTasks(string path)
{
foreach (var task in (ObservableCollection<PlayerTask>)loadedTasks)
{
task.IsCompleted = false;
this.UserData.Tasks.Add(task);
this.PlayerTasks.Add(new PlayerTaskViewModel(task, this.zoneService, this, this.container));
}
Expand Down

0 comments on commit 4092307

Please sign in to comment.