Fix incorrect Export validation rule
- Disallow containers - Issue MatterHackers/MCCentral#4186 Exporting folders doesn't work
This commit is contained in:
parent
131665f17c
commit
74d0446aca
1 changed files with 1 additions and 1 deletions
|
|
@ -742,7 +742,7 @@ namespace MatterHackers.MatterControl.PrintLibrary
|
|||
{
|
||||
// Multiselect - disallow containers
|
||||
return listView.SelectedItems.Any()
|
||||
&& listView.SelectedItems.All(i => !(i.Model is ILibraryContainer));
|
||||
&& listView.SelectedItems.All(i => !(i.Model is ILibraryContainerLink));
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue