diff --git a/PCK-Studio/MainForm.cs b/PCK-Studio/MainForm.cs index a56f977d..3c5b9033 100644 --- a/PCK-Studio/MainForm.cs +++ b/PCK-Studio/MainForm.cs @@ -588,9 +588,18 @@ namespace PckStudio private void settingsToolStripMenuItem_Click(object sender, EventArgs e) { - var appSettings = new AppSettingsForm(); + bool customSkinIcons = Settings.Default.UseCustomSkinIcons; + bool customCapeIcons = Settings.Default.UseCustomSkinIcons; + + var appSettings = new AppSettingsForm(); appSettings.ShowDialog(this); - } + + if ((customSkinIcons != Settings.Default.UseCustomSkinIcons || customSkinIcons != Settings.Default.UseCustomSkinIcons) // check if either of these options were changed + && TryGetCurrentEditor(out IEditor editor)) // if so, redraw custom icons + { + editor.UpdateView(); // reset all custom node icons + } + } private void checkForUpdatesToolStripMenuItem_Click(object sender, EventArgs e) {