Skip to content

Commit fbfa62d

Browse files
authored
Merge pull request #240 from ionite34/fix-model-delete
2 parents d5f9541 + 66154d8 commit fbfa62d

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to Stability Matrix will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning 2.0](https://semver.org/spec/v2.0.0.html).
77

8+
## v2.4.1
9+
### Fixed
10+
- Fixed deleting checkpoints not updating the visual grid until the page is refreshed
11+
- Fixed updates sometimes freezing on "Installing Requirements" step
12+
813
## v2.4.0
914
### Added
1015
- New installable Package - [Fooocus-MRE](https://github.com/MoonRide303/Fooocus-MRE)

StabilityMatrix.Avalonia/StabilityMatrix.Avalonia.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<ApplicationManifest>app.manifest</ApplicationManifest>
99
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
1010
<ApplicationIcon>./Assets/Icon.ico</ApplicationIcon>
11-
<Version>2.3.3-dev.1</Version>
11+
<Version>2.4.1-dev.1</Version>
1212
<InformationalVersion>$(Version)</InformationalVersion>
1313
<EnableWindowsTargeting>true</EnableWindowsTargeting>
1414
</PropertyGroup>

StabilityMatrix.Avalonia/ViewModels/CheckpointManager/CheckpointFolder.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using System.Collections.Specialized;
44
using System.IO;
55
using System.Linq;
6+
using System.Reactive.Linq;
67
using System.Threading.Tasks;
78
using Avalonia.Controls;
89
using Avalonia.Controls.Notifications;
@@ -118,6 +119,12 @@ public CheckpointFolder(
118119
checkpointFilesCache
119120
.Connect()
120121
.DeferUntilLoaded()
122+
.SubscribeMany(
123+
file =>
124+
Observable
125+
.FromEventPattern<EventArgs>(file, nameof(ParentListRemoveRequested))
126+
.Subscribe(_ => checkpointFilesCache.Remove(file))
127+
)
121128
.Bind(CheckpointFiles)
122129
.Sort(
123130
SortExpressionComparer<CheckpointFile>

0 commit comments

Comments
 (0)