Skip to content

Commit 7bf16db

Browse files
authored
Merge pull request LykosAI#358 from ionite34/output-refresh
2 parents 6671969 + 1cd363e commit 7bf16db

File tree

3 files changed

+169
-150
lines changed

3 files changed

+169
-150
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ 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

88
## v2.7.0-dev.2
9+
### Added
10+
- Outputs Page
11+
- Added Refresh button to update gallery from file system changes
12+
### Changed
13+
- Outputs Page
14+
- Updated button and menu layout
915
### Fixed
1016
- Fixed InvalidOperation errors when signing into accounts shortly after signing out, while the previous account update is still running
1117

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)