Skip save operation when on the EmptyProfile

- Fixes regression in MorePauseHandlingStreamTests
This commit is contained in:
John Lewin 2016-08-31 18:49:29 -07:00
parent de84fe1705
commit 938c4c2267

View file

@ -189,6 +189,12 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
public void Save()
{
// Skip save operation if on the EmptyProfile
if (!this.PrinterSelected)
{
return;
}
string json = JsonConvert.SerializeObject(this, Formatting.Indented);
// SHA1 value is based on UTF8 encoded file contents