Skip to content

Commit c4d2eed

Browse files
committed
Add output page refresh and update layout
1 parent 6671969 commit c4d2eed

File tree

2 files changed

+163
-150
lines changed

2 files changed

+163
-150
lines changed

StabilityMatrix.Avalonia/ViewModels/OutputsPageViewModel.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,11 @@ public Task CopyImage(string imagePath)
297297

298298
public Task OpenImage(string imagePath) => ProcessRunner.OpenFileBrowser(imagePath);
299299

300+
public void Refresh()
301+
{
302+
Dispatcher.UIThread.Post(OnLoaded);
303+
}
304+
300305
public async Task DeleteImage(OutputImageViewModel? item)
301306
{
302307
if (item is null)

0 commit comments

Comments
 (0)