Skip to content

Commit

Permalink
v0.9.4 fix "hearthstats > delete selected deck" local stat "loss"
Browse files Browse the repository at this point in the history
  • Loading branch information
epix37 committed Feb 10, 2015
1 parent 36ae876 commit 241401b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Hearthstone Deck Tracker/MainWindow/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1385,9 +1385,11 @@ private async void MenuItemDeleteHearthStatsDeck_OnClick(object sender, RoutedEv
}

DeckList.Instance.ActiveDeck.ResetHearthstatsIds();
DeckList.Instance.ActiveDeck.DeckStats.HearthStatsDeckId = null;
DeckList.Instance.ActiveDeck.DeckStats.Games.ForEach(g => g.ResetHearthstatsIds());
DeckList.Instance.ActiveDeck.Versions.ForEach(v =>
{
v.DeckStats.HearthStatsDeckId = null;
v.DeckStats.Games.ForEach(g => g.ResetHearthstatsIds());
v.ResetHearthstatsIds();
});
Expand Down
2 changes: 1 addition & 1 deletion Hearthstone Deck Tracker/Version.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<Version>
<Major>0</Major>
<Minor>9</Minor>
<Revision>3</Revision>
<Revision>4</Revision>
<Build>0</Build>
</Version>

0 comments on commit 241401b

Please sign in to comment.