Merge pull request #445 from jlewin/master
Honor user supplied empty values
This commit is contained in:
commit
d326938377
1 changed files with 1 additions and 1 deletions
|
|
@ -315,7 +315,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
for (int i = 0; i < matterSliceToDefaultMapping.Length; i++)
|
||||
{
|
||||
string matterSliceValue = matterSliceToDefaultMapping[i].MappedValue;
|
||||
if (matterSliceValue != null && matterSliceValue != "")
|
||||
if (matterSliceValue != null)
|
||||
{
|
||||
sliceSettingsFile.WriteLine("{0} = {1}".FormatWith(matterSliceToDefaultMapping[i].MappedKey, matterSliceValue));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue