Skip to content

Commit

Permalink
Fix not saving changes
Browse files Browse the repository at this point in the history
  • Loading branch information
punker76 committed Dec 12, 2016
1 parent 1836636 commit 25acf2f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion MONI/Data/WorkYear.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ public WorkYear(int year, WorkDayParserSettings parserSettings, int hitListLookB

private void workWeek_PropertyChanged(object sender, PropertyChangedEventArgs e)
{
//this.OnPropertyChanged("HoursDuration");
// this property doesn't exist here, but we want to trigger saving the data at MainViewModel
this.OnPropertyChanged("HoursDuration");
this.UpdateProjectHitlistAsync();
this.UpdatePositionHitlistAsync();
}
Expand Down
8 changes: 4 additions & 4 deletions MONI/MONI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -231,17 +231,17 @@
<Resource Include="Resources\moni.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target AfterTargets="AfterBuild;NonWinFodyTarget" Name="CleanReferenceCopyLocalPaths" Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<Delete Files="@(ReferenceCopyLocalPaths->'$(OutDir)%(DestinationSubDirectory)%(Filename)%(Extension)')" />
</Target>
<Import Project="..\.paket\paket.targets" />
<Choose>
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.1' Or $(TargetFrameworkVersion) == 'v4.5.2' Or $(TargetFrameworkVersion) == 'v4.5.3' Or $(TargetFrameworkVersion) == 'v4.6' Or $(TargetFrameworkVersion) == 'v4.6.1' Or $(TargetFrameworkVersion) == 'v4.6.2' Or $(TargetFrameworkVersion) == 'v4.6.3')">
<PropertyGroup>
<__paket__Fody_targets>portable-net+sl+win+wpa+wp\Fody</__paket__Fody_targets>
</PropertyGroup>
</When>
</Choose>
<Target AfterTargets="AfterBuild;NonWinFodyTarget" Name="CleanReferenceCopyLocalPaths" Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<Delete Files="@(ReferenceCopyLocalPaths-&gt;'$(OutDir)%(DestinationSubDirectory)%(Filename)%(Extension)')" />
</Target>
<Import Project="..\.paket\paket.targets" />
<Choose>
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.1' Or $(TargetFrameworkVersion) == 'v4.5.2' Or $(TargetFrameworkVersion) == 'v4.5.3')">
<ItemGroup>
Expand Down

0 comments on commit 25acf2f

Please sign in to comment.