From 2a8166a0c57faca3aa8c62e0520fc28aca205794 Mon Sep 17 00:00:00 2001 From: Felipe Cotti Date: Sat, 30 Nov 2024 16:57:25 -0300 Subject: [PATCH] Properly clean the list in case a new load occurs. --- README.md | 8 ++++++-- docs/{demo.png => image.png} | Bin .../Plpext.UI/ViewModels/MainWindowViewModel.cs | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) rename docs/{demo.png => image.png} (100%) diff --git a/README.md b/README.md index fd688e9..7fa0b13 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,13 @@

Plpext

-
User interface demo
+
User interface demo
-
https://raw.githubusercontent.com/cotti/plpext/docs/demo_video.mp4
+--- + +https://github.com/user-attachments/assets/b7a2c077-25ee-4412-90a4-4881c0ffa5c2 + +---
diff --git a/docs/demo.png b/docs/image.png similarity index 100% rename from docs/demo.png rename to docs/image.png diff --git a/src/Plpext/Plpext.UI/ViewModels/MainWindowViewModel.cs b/src/Plpext/Plpext.UI/ViewModels/MainWindowViewModel.cs index beff45f..4c558c2 100644 --- a/src/Plpext/Plpext.UI/ViewModels/MainWindowViewModel.cs +++ b/src/Plpext/Plpext.UI/ViewModels/MainWindowViewModel.cs @@ -55,7 +55,7 @@ public partial class MainWindowViewModel : ViewModelBase private async Task LoadFile() { TotalFilesToExtract = await _fileLoaderService.GetFileCountAsync(OriginPath); - //AudioFiles.Clear(); + AudioFiles.Clear(); await Dispatcher.UIThread.InvokeAsync(() => { ProgressBarText = "Loading files...";