Reduce scope

This commit is contained in:
John Lewin 2018-10-31 17:16:52 -07:00
parent a59970e371
commit 3aa10f77dc

View file

@ -42,7 +42,6 @@ namespace MatterHackers.MatterControl.PrintLibrary
public class HardwareTabPage : FlowLayoutWidget
{
private ThemeConfig theme;
private TreeView treeView;
public HardwareTabPage(ThemeConfig theme)
: base (FlowDirection.TopToBottom)
@ -68,7 +67,7 @@ namespace MatterHackers.MatterControl.PrintLibrary
this.AddChild(horizontalSplitter);
treeView = new InventoryTreeView(theme)
var treeView = new InventoryTreeView(theme)
{
HAnchor = HAnchor.Stretch,
VAnchor = VAnchor.Stretch,