Skip save operation when on the EmptyProfile
- Fixes regression in MorePauseHandlingStreamTests
This commit is contained in:
parent
de84fe1705
commit
938c4c2267
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue