Skip to content

Commit

Permalink
fixed - save with same version shouldn't add deck to history (#599, M…
Browse files Browse the repository at this point in the history
  • Loading branch information
epix37 committed Jan 29, 2015
1 parent 501ae38 commit a8ca6fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Hearthstone Deck Tracker/MainWindow/MainWindow_NewDeck.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ private async void SaveDeck(bool overwrite, SerializableVersion newVersion)
return;
}

if(overwrite)
if(overwrite && (_newDeck.Version != newVersion))
{
_newDeck.Version = newVersion;
AddDeckHistory();
Expand Down

0 comments on commit a8ca6fd

Please sign in to comment.