mirror of
https://github.com/4sval/FModel.git
synced 2026-05-07 05:21:31 -05:00
Added 50 Entry Limit
This commit is contained in:
parent
d8d8757768
commit
bb160e798e
|
|
@ -146,10 +146,10 @@ public class RightClickMenuCommand : ViewModelCommand<ApplicationViewModel>
|
|||
{
|
||||
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<ApplicationViewModel>
|
|||
{
|
||||
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);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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, () =>
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user