Apple Windows crash fix

This commit is contained in:
Sebastián Katzer 2019-01-30 12:18:18 +01:00
parent d248974ae9
commit 113dde9f0a

View File

@ -114,7 +114,9 @@ exports.onPrintTaskRequested = function (event) {
task.options.duplex = Printing.PrintDuplex.oneSided;
}
try {
task.options.numberOfCopies = config.copies || 1;
} catch (e) {}
task.oncompleted = function (e) {
exports._func(e.detail[0].completion == 3);