fixing warnings / refactoring

This commit is contained in:
Lars Brubaker 2020-08-21 11:35:12 -07:00
parent 1637320048
commit 874d2d404d
6 changed files with 19 additions and 18 deletions

View file

@ -163,7 +163,7 @@ namespace MatterHackers.MatterControl.PrintLibrary
{
var filePath = textEditWidget.Text;
if (ProfileManager.ImportFromExisting(filePath, clearBlackList: copyAndCalibrateOption.Checked))
if (ProfileManager.ImportFromExisting(filePath, resetSettingsForNewProfile: copyAndCalibrateOption.Checked))
{
string importPrinterSuccessMessage = "You have successfully imported a new printer profile. You can find '{0}' in your list of available printers.".Localize();
this.DialogWindow.ChangeToPage(