Don't set new printer name to current printer
If no white list is set than do not filter Make default MC white list be none
This commit is contained in:
parent
cfb0d4c055
commit
6cc61c53d0
4 changed files with 6 additions and 36 deletions
|
|
@ -85,9 +85,10 @@ namespace MatterHackers.MatterControl.SettingsManagement
|
|||
|
||||
// Apply whitelist
|
||||
var whiteListedItems = manufacturers?.Where(keyValue => PrinterWhiteList.Contains(keyValue.Key));
|
||||
if (whiteListedItems == null)
|
||||
if (whiteListedItems == null
|
||||
|| whiteListedItems.Count() == 0)
|
||||
{
|
||||
AllOems = new List<KeyValuePair<string, string>>();
|
||||
AllOems = new List<KeyValuePair<string, string>>(manufacturers);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue