Remove dead code
This commit is contained in:
parent
5e4184217e
commit
80ae5d9bef
1 changed files with 0 additions and 21 deletions
|
|
@ -70,8 +70,6 @@ namespace MatterHackers.MatterControl.CustomWidgets
|
|||
var linkButtonFactory = ApplicationController.Instance.Theme.LinkButtonFactory;
|
||||
var theme = ApplicationController.Instance.Theme;
|
||||
|
||||
bool haveFilterRunning = !string.IsNullOrEmpty(currentContainer.KeywordFilter);
|
||||
|
||||
this.CloseAllChildren();
|
||||
|
||||
var upbutton = theme.ButtonFactory.GenerateIconButton(AggContext.StaticData.LoadIcon(Path.Combine("FileDialog", "up_folder_20.png"), IconColor.Theme));
|
||||
|
|
@ -122,25 +120,6 @@ namespace MatterHackers.MatterControl.CustomWidgets
|
|||
firstItem = false;
|
||||
}
|
||||
|
||||
if (haveFilterRunning)
|
||||
{
|
||||
// Add separator ;
|
||||
this.CreateSeparator(theme);
|
||||
|
||||
Button searchResultsButton = null;
|
||||
if (UserSettings.Instance.IsTouchScreen)
|
||||
{
|
||||
searchResultsButton = buttonFactory.Generate("Search Results".Localize(), AggContext.StaticData.LoadIcon("icon_search_32x32.png", IconColor.Theme));
|
||||
}
|
||||
else
|
||||
{
|
||||
searchResultsButton = buttonFactory.Generate("Search Results".Localize(), AggContext.StaticData.LoadIcon("icon_search_24x24.png", IconColor.Theme));
|
||||
}
|
||||
searchResultsButton.Name = "Bread Crumb Button " + "Search Results";
|
||||
searchResultsButton.Margin = new BorderDouble(right: 5);
|
||||
this.AddChild(searchResultsButton);
|
||||
}
|
||||
|
||||
// while all the buttons don't fit in the control
|
||||
if (this.Parent != null
|
||||
&& this.Width > 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue