Update LastProfileID on create printer

This commit is contained in:
John Lewin 2016-12-09 16:43:55 -08:00 committed by Lars Brubaker
parent 5cef50db67
commit 8f7d1332f3
3 changed files with 3 additions and 3 deletions

View file

@ -58,7 +58,7 @@ namespace MatterHackers.MatterControl
this.SelectionChanged += (s, e) =>
{
string printerID = this.SelectedValue;
if (printerID == "new")
if (printerID == "new" || string.IsNullOrEmpty(printerID))
{
// do nothing
}