mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-31 21:03:48 +01:00
Check path length on adding them to the cache and log error if a path is too long.
This commit is contained in:
parent
09417bd6c1
commit
5b5a1e2fd8
5 changed files with 10 additions and 5 deletions
|
|
@ -319,7 +319,10 @@ public partial class ModEditWindow
|
|||
if( ImGuiUtil.DrawDisabledButton( "Apply Changes", Vector2.Zero, tt, !changes ) )
|
||||
{
|
||||
var failedFiles = _editor!.ApplyFiles();
|
||||
PluginLog.Information( $"Failed to apply {failedFiles} file redirections to {_editor.CurrentOption.Name}." );
|
||||
if( failedFiles > 0 )
|
||||
{
|
||||
PluginLog.Information( $"Failed to apply {failedFiles} file redirections to {_editor.CurrentOption.FullName}." );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue