Update Add Printer tests
This commit is contained in:
parent
e83e081983
commit
def78f9d42
2 changed files with 20 additions and 10 deletions
|
|
@ -60,6 +60,8 @@ namespace MatterHackers.MatterControl.PrintLibrary
|
|||
this.theme = theme;
|
||||
this.nextButton = nextButton;
|
||||
this.ExistingPrinterNames = ProfileManager.Instance.ActiveProfiles.Select(p => p.Name).ToList();
|
||||
this.Name = "AddPrinterWidget";
|
||||
this.TreeLoaded = false;
|
||||
|
||||
var searchIcon = AggContext.StaticData.LoadIcon("icon_search_24x24.png", 16, 16, theme.InvertIcons).AjustAlpha(0.3);
|
||||
|
||||
|
|
@ -186,7 +188,7 @@ namespace MatterHackers.MatterControl.PrintLibrary
|
|||
rootColumn.AddChild(rootNode);
|
||||
}
|
||||
|
||||
this.Enabled = true;
|
||||
this.TreeLoaded = true;
|
||||
});
|
||||
|
||||
var container = new FlowLayoutWidget(FlowDirection.TopToBottom)
|
||||
|
|
@ -391,6 +393,8 @@ namespace MatterHackers.MatterControl.PrintLibrary
|
|||
|
||||
public string NewPrinterName => printerNameInput.Text;
|
||||
|
||||
public bool TreeLoaded { get; private set; }
|
||||
|
||||
public class MakeModelInfo
|
||||
{
|
||||
public string Make { get; set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue