Enable export on library selections
This commit is contained in:
parent
9c57c831fb
commit
6dd9957cfc
2 changed files with 4 additions and 12 deletions
|
|
@ -806,12 +806,12 @@ namespace MatterHackers.MatterControl.PrintLibrary
|
|||
if (libraryView.SelectedItems.Count == 1)
|
||||
{
|
||||
var libraryItem = libraryView.SelectedItems.Select(i => i.Model).FirstOrDefault();
|
||||
if (libraryItem != null)
|
||||
if (libraryItem is ILibraryContentStream libraryContent)
|
||||
{
|
||||
throw new NotImplementedException("Export not implemented");
|
||||
var exportPage = new ExportPrintItemPage(libraryContent);
|
||||
|
||||
// TODO: Implement
|
||||
//ApplicationController.OpenExportWindow(await this.GetPrintItemWrapperAsync());
|
||||
string windowTitle = "MatterControl".Localize() + ": " + "Export File".Localize();
|
||||
WizardWindow.Show("/ExportPrintItemPage", "", exportPage);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue