Remove invalid settings from slic3r config files

- Second attempt to fix #784
This commit is contained in:
John Lewin 2016-05-31 17:58:47 -07:00
parent e3da9196a5
commit 2e59506d06
2 changed files with 5 additions and 5 deletions

View file

@ -77,8 +77,8 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
public override bool MapContains(string key)
{
// Visible items are anything not in the hiddenSettings set or that start with 'MatterControl.'
return !hiddenSettings.Contains(key) || key.StartsWith("MatterControl.");
// Visible items are anything not in hiddenSettings or that does not start with 'MatterControl.'
return !hiddenSettings.Contains(key) && !key.StartsWith("MatterControl.");
}
}
}