Changing BOX Version now redraws icons

This commit is contained in:
MayNL
2026-05-02 22:32:05 -04:00
parent 236c979393
commit 1a8083d3f1

View File

@@ -610,6 +610,8 @@ namespace PckStudio
if (TryGetCurrentEditor(out IEditor<PackInfo> editor) && editor.EditorValue.File.xmlVersion != version)
{
editor.EditorValue.File.xmlVersion = version;
if(Settings.Default.UseCustomSkinIcons || Settings.Default.UseCustomCapeIcons)
editor.UpdateView(); // reset all custom node icons
Console.WriteLine($"New XMLVersion: {editor.TitleName} {editor.EditorValue.File.xmlVersion}");
}
}