mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 12:17:50 -06:00
Make sure that printer name is not empty
CURA-6435
This commit is contained in:
parent
b269dc95b0
commit
b0fd6628a5
3 changed files with 26 additions and 1 deletions
|
@ -118,7 +118,10 @@ Item
|
|||
}
|
||||
else
|
||||
{
|
||||
return addLocalPrinterDropDown.contentItem.currentItem != null
|
||||
// Printer name cannot be empty
|
||||
const localPrinterItem = addLocalPrinterDropDown.contentItem.currentItem
|
||||
const isPrinterNameValid = addLocalPrinterDropDown.contentItem.isPrinterNameValid
|
||||
return localPrinterItem != null && isPrinterNameValid
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue