Pop BusyPage on errors too

This commit is contained in:
Anton Thomasson 2020-05-09 14:05:34 +02:00
parent 323b5715e6
commit dd75832e8a

View file

@ -15,9 +15,9 @@ Page {
else if (printer.jobAttrs.hasOwnProperty("job-state")) {
msg = Utils.ippName("job-state", printer.jobAttrs["job-state"].value)
}
pageStack.pop()
if(status == true) {
notifier.notify(qsTr("Print success: ") + msg)
pageStack.pop() //or replace?
}
else {
notifier.notify(qsTr("Print failed: ") + msg)