mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Fix issue with renaming mods with open advanced window.
This commit is contained in:
parent
06cf6ce752
commit
2e0e125913
1 changed files with 5 additions and 2 deletions
|
|
@ -629,7 +629,10 @@ public partial class ModEditWindow : Window, IDisposable
|
|||
|
||||
private void OnModPathChange(ModPathChangeType type, Mod mod, DirectoryInfo? _1, DirectoryInfo? _2)
|
||||
{
|
||||
if (type is ModPathChangeType.Reloaded or ModPathChangeType.Moved)
|
||||
ChangeMod(mod);
|
||||
if (type is not (ModPathChangeType.Reloaded or ModPathChangeType.Moved) || mod != _mod)
|
||||
return;
|
||||
|
||||
_mod = null;
|
||||
ChangeMod(mod);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue