Skip to content

Commit

Permalink
Fix: Item data not saved
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceOgre committed Nov 9, 2014
1 parent 754aa83 commit e28dbe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WPFSKillTree/Views/MainWindow.xaml.cs
Expand Up @@ -595,6 +595,7 @@ public void LoadItemData(string itemData)
{
try
{
_persistentData.CurrentBuild.ItemData = itemData;
_itemAttributes = new ItemAttributes(itemData);
lbItemAttr.ItemsSource = _itemAttributes.Attributes;
mnuClearItems.IsEnabled = true;
Expand Down Expand Up @@ -966,7 +967,6 @@ private void SetCurrentBuild(PoEBuild build)

tbSkillURL.Text = build.Url;
tbLevel.Text = build.Level;
_persistentData.CurrentBuild.ItemData = build.ItemData;
LoadItemData(build.ItemData);
}

Expand Down

0 comments on commit e28dbe5

Please sign in to comment.