Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #128 from SSchulze1989/develop
Browse files Browse the repository at this point in the history
Fix - Votes not showing properly in Edit Vote window
  • Loading branch information
SSchulze1989 authored Jan 11, 2021
2 parents f9adfce + c7ccf2f commit 964576d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iRLeagueManager/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.8.3.0")]
[assembly: AssemblyFileVersion("0.8.3.0")]
[assembly: AssemblyVersion("0.8.4.0")]
[assembly: AssemblyFileVersion("0.8.4.0")]
1 change: 1 addition & 0 deletions iRLeagueManager/ViewModels/IncidentReviewViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ public void DeleteVote(ReviewVoteModel vote)
public override void OnUpdateSource()
{
base.OnUpdateSource();
OnPropertyChanged(nameof(AcceptedVotes));
CalculateVotes();
}

Expand Down
1 change: 1 addition & 0 deletions iRLeagueManager/ViewModels/ViewModelBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public ViewModelBase()
public virtual async Task Refresh()
#pragma warning restore CS1998 // Bei der asynchronen Methode fehlen "await"-Operatoren. Die Methode wird synchron ausgeführt.
{
OnPropertyChanged(null);
}

protected virtual void OnPropertyChanged([CallerMemberName] String propertyName = "")
Expand Down
12 changes: 12 additions & 0 deletions updates/update.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>0.8.3.0</version>
<url>https://github.com/SSchulze1989/iRLeagueManager/releases/download/v0.8.3-alpha/iRLeagueManager.zip</url>
<changelog>https://github.com/SSchulze1989/iRLeagueManager/releases/</changelog>
<mandatory>true</mandatory>
</item>
<item>
<version>0.8.2.0</version>
<url>https://github.com/SSchulze1989/iRLeagueManager/releases/download/v0.8.2-alpha1/iRLeagueManager.zip</url>
<changelog>https://github.com/SSchulze1989/iRLeagueManager/releases/</changelog>
<mandatory>true</mandatory>
</item>
<item>
<version>0.8.1.0</version>
<url>https://github.com/SSchulze1989/iRLeagueManager/releases/download/v0.8.1-alpha/iRLeagueManager.zip</url>
Expand Down

0 comments on commit 964576d

Please sign in to comment.