mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 09:47:50 -06:00
Review tweaks
Contributes to CL-897 and CL-1051
This commit is contained in:
parent
2dcfc049ba
commit
6f33c4410c
2 changed files with 2 additions and 2 deletions
|
@ -185,7 +185,7 @@ Item {
|
|||
}
|
||||
text: catalog.i18nc("@label", "Override");
|
||||
visible: {
|
||||
if (root.job & root.job.configurationChanges) {
|
||||
if (root.job && root.job.configurationChanges) {
|
||||
var length = root.job.configurationChanges.length;
|
||||
for (var i = 0; i < length; i++) {
|
||||
var typeOfChange = root.job.configurationChanges[i].typeOfChange;
|
||||
|
|
|
@ -233,7 +233,7 @@ Item {
|
|||
|
||||
// Progress bar
|
||||
PrinterCardProgressBar {
|
||||
visible: printer && printer.activePrintJob != null && printer.activePrintJob != undefined;
|
||||
visible: printer && printer.activePrintJob != null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue