improving item button logic
fix spelling
This commit is contained in:
parent
90934aa04f
commit
2026bb220c
9 changed files with 18 additions and 11 deletions
|
|
@ -54,7 +54,7 @@ namespace MatterHackers.MatterControl.PrintLibrary
|
|||
: base(theme)
|
||||
{
|
||||
this.nextButtonEnabled = nextButtonEnabled;
|
||||
this.ExistingPrinterNames = ProfileManager.Instance.ActiveProfiles.Select(p => p.Name).ToList();
|
||||
this.ExistingPrinterNames = new HashSet<string>(ProfileManager.Instance.ActiveProfiles.Select(p => p.Name));
|
||||
this.Name = "AddPrinterWidget";
|
||||
|
||||
horizontalSplitter.Panel2.Padding = theme.DefaultContainerPadding;
|
||||
|
|
@ -166,7 +166,7 @@ namespace MatterHackers.MatterControl.PrintLibrary
|
|||
}
|
||||
}
|
||||
|
||||
public IReadOnlyList<string> ExistingPrinterNames { get; private set; }
|
||||
public HashSet<string> ExistingPrinterNames { get; private set; }
|
||||
|
||||
public TextWidget PrinterNameError { get; private set; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue