From bb160e798e8a7092ca68bb86ad24dacd1c1377f2 Mon Sep 17 00:00:00 2001 From: Krowe Moh <27891447+Krowe-moh@users.noreply.github.com> Date: Thu, 9 Apr 2026 05:53:45 +1000 Subject: [PATCH] Added 50 Entry Limit --- .../ViewModels/Commands/RightClickMenuCommand.cs | 14 +++----------- FModel/ViewModels/TabControlViewModel.cs | 2 +- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/FModel/ViewModels/Commands/RightClickMenuCommand.cs b/FModel/ViewModels/Commands/RightClickMenuCommand.cs index e82b4905..28e50f7b 100644 --- a/FModel/ViewModels/Commands/RightClickMenuCommand.cs +++ b/FModel/ViewModels/Commands/RightClickMenuCommand.cs @@ -146,10 +146,10 @@ public class RightClickMenuCommand : ViewModelCommand { Thread.Yield(); cancellationToken.ThrowIfCancellationRequested(); - fileAction(entry, bulktype | EBulkType.Auto, update); + fileAction(entry, bulktype, update); } - LogExport(contextViewModel, filetype); + if (assets.Length > 50) LogExport(contextViewModel, filetype); return; } @@ -212,15 +212,7 @@ public class RightClickMenuCommand : ViewModelCommand { FLogger.Append(ELog.Information, () => { - FLogger.Text($"Successfully exported {contextViewModel.CUE4Parse.ExportedCount} {fileType}", Constants.WHITE, true); - }); - } - - if (contextViewModel.CUE4Parse.FailedExportCount > 0) - { - FLogger.Append(ELog.Error, () => - { - FLogger.Text($"Failed to export {contextViewModel.CUE4Parse.FailedExportCount} {fileType}", Constants.WHITE, true); + FLogger.Text($"Successfully exported {contextViewModel.CUE4Parse.ExportedCount} {fileType}, Failed to export {contextViewModel.CUE4Parse.FailedExportCount} {fileType} in other folders.", Constants.WHITE, true); }); } diff --git a/FModel/ViewModels/TabControlViewModel.cs b/FModel/ViewModels/TabControlViewModel.cs index dbeb4423..7f18c1e7 100644 --- a/FModel/ViewModels/TabControlViewModel.cs +++ b/FModel/ViewModels/TabControlViewModel.cs @@ -426,7 +426,7 @@ public class TabItem : ViewModel { Interlocked.Increment(ref ApplicationService.ApplicationView.CUE4Parse.ExportedCount); Log.Information("{FileName} successfully saved", fileName); - if (updateUi) + if (updateUi && ApplicationService.ApplicationView.CUE4Parse.ExportedCount < 50) { FLogger.Append(ELog.Information, () => {