On theme change, prevent theme change until reload completes

- Issue MatterHackers/MCCentral#4381
This commit is contained in:
John Lewin 2018-10-25 12:36:03 -07:00
parent f378c73098
commit 6d9a57d96b
2 changed files with 3 additions and 1 deletions

View file

@ -126,6 +126,9 @@ namespace MatterHackers.MatterControl.ConfigurationPage
{
// Activate the theme
themeColorPanel.SetThemeColor(this.ThemeSet, primaryAccentColor, this.Mode);
// Disable further theme clicks until reload completes
themeColorPanel.Enabled = false;
};
this.AddChild(overlay);

View file

@ -627,7 +627,6 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
};
});
}
}
private static void CopyPlateToPrinter(BedConfig sceneContext, PrinterConfig printer)