disable export if printer not setup
show reason why export is disabled issue: MatterHackers/MCCentral#4573 Export should follow the same rules as printer/setup buttons
This commit is contained in:
parent
33d4ed529c
commit
726b14f9c0
9 changed files with 66 additions and 8 deletions
|
|
@ -57,6 +57,8 @@ namespace MatterHackers.MatterControl.Library.Export
|
|||
|
||||
public bool Enabled => true;
|
||||
|
||||
public string DissabledReason => "";
|
||||
|
||||
public bool ExportPossible(ILibraryAsset libraryItem) => true;
|
||||
|
||||
public async Task<bool> Generate(IEnumerable<ILibraryItem> libraryItems, string outputPath, IProgress<ProgressStatus> progress, CancellationToken cancellationToken)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue