Skip to content

Commit

Permalink
v0.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
epix37 committed Feb 9, 2015
1 parent 1fdceb7 commit cd2bbb1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ private async void DeleteGames(DataGrid dataGrid, bool overall)
}
}
}
if(Config.Instance.HearthStatsAutoUploadNewGames)
HearthStatsManager.DeleteMatchesAsync(new List<GameStats> {selectedGame});

HearthStatsManager.DeleteMatchesAsync(new List<GameStats> {selectedGame});
//Helper.MainWindow.DeckPickerList.Items.Refresh();
Helper.MainWindow.DeckPickerList.UpdateDecks();
Refresh();
Expand Down Expand Up @@ -175,8 +175,8 @@ private async void DeleteGames(DataGrid dataGrid, bool overall)
}
}
}
if(Config.Instance.HearthStatsAutoUploadNewGames)
HearthStatsManager.DeleteMatchesAsync(selectedGames);

HearthStatsManager.DeleteMatchesAsync(selectedGames);
DeckStatsList.Save();
DefaultDeckStats.Save();
Logger.WriteLine("Deleted " + count + " games", "DeckStatsControl");
Expand Down
3 changes: 1 addition & 2 deletions Hearthstone Deck Tracker/MainWindow/MainWindow_Edit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ private void DeleteDeck(Deck deck)
Logger.WriteLine("Removed deckstats from deck: " + deck.Name, "Edit");
}

if(Config.Instance.HearthStatsAutoUploadNewDecks)
HearthStatsManager.DeleteDeckAsync(deck, false, true);
HearthStatsManager.DeleteDeckAsync(deck, false, true);

DeckList.Instance.Decks.Remove(deck);
DeckList.Save();
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>1</Revision>
<Revision>2</Revision>
<Build>0</Build>
</Version>

0 comments on commit cd2bbb1

Please sign in to comment.