From d3b4476306f61e872a5b170b525677f43ab8889a Mon Sep 17 00:00:00 2001 From: gregory-diaz Date: Mon, 10 Mar 2014 17:04:09 -0700 Subject: [PATCH] first attempt at fixing file extension problem in print library --- MatterControl.userprefs | 17 ++++++++--------- PrintLibrary/ExportLibraryItemWindow.cs | 2 +- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/MatterControl.userprefs b/MatterControl.userprefs index 78a05af8a..b9d2d2c59 100644 --- a/MatterControl.userprefs +++ b/MatterControl.userprefs @@ -2,16 +2,15 @@ - - - - - - - - - + + + + + + + + diff --git a/PrintLibrary/ExportLibraryItemWindow.cs b/PrintLibrary/ExportLibraryItemWindow.cs index 5f0038f26..b0ae56e26 100644 --- a/PrintLibrary/ExportLibraryItemWindow.cs +++ b/PrintLibrary/ExportLibraryItemWindow.cs @@ -164,7 +164,7 @@ namespace MatterHackers.MatterControl.PrintLibrary else if (partIsGCode) { Close(); - SaveGCodeToNewLocation(printQueueItem.printItem.FileLocation, saveParams.FileName); + SaveGCodeToNewLocation(printQueueItem.printItem.FileLocation,filePathToSave);//saveParams.FileName } } }