Disable Up Folder button in RootContainer

- Issue MatterHackers/MCCentral#2479
Up Folder buttons should be disabled in root container
This commit is contained in:
John Lewin 2017-12-24 19:40:14 -08:00
parent eba586013c
commit b0d7c192af
5 changed files with 12 additions and 17 deletions

View file

@ -428,7 +428,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
{
if (this.ListContentView.Children.Count <= 0)
{
this.Reload();
this.Reload().ConfigureAwait(false);
}
base.OnLoad(args);

View file

@ -253,7 +253,7 @@ namespace MatterHackers.MatterControl.PrintLibrary
createFolderButton.Enabled = containerSupportsEdits && writableContainer?.AllowAction(ContainerActions.AddContainers) == true;
searchInput.Text = activeContainer.KeywordFilter;
breadCrumbWidget.SetBreadCrumbs(activeContainer);
breadCrumbWidget.SetContainer(activeContainer);
activeContainer.ContentChanged += UpdateStatus;