No title for trees. They just block things

This commit is contained in:
Tim Young 2018-02-24 13:45:29 -06:00
parent 68d83fa07d
commit 529c967876

View File

@ -1142,6 +1142,7 @@ namespace EduNetworkBuilder
private List<string> DeviceCaptions(CaptionType What) private List<string> DeviceCaptions(CaptionType What)
{ {
List<string> WhatToShow = new List<string>(); List<string> WhatToShow = new List<string>();
if (myType == NetworkComponentType.tree) return WhatToShow; //return nothing
switch(What) switch(What)
{ {
case CaptionType.none: case CaptionType.none: