Merge commit '84729f90fc46ef46dc26eeab2843dbc6d5266787'
Merged in fix for template number.
This commit is contained in:
commit
f114570a8c
@ -415,7 +415,7 @@ bool hwapi::dc_updatePrinterTemplate(enum FileTypeJson type,
|
||||
int nrOfTemplate,
|
||||
QString const &fname) const {
|
||||
if ((type == FileTypeJson::PRINTER) &&
|
||||
(nrOfTemplate >= 0 && nrOfTemplate <= 32)) {
|
||||
(nrOfTemplate >= 1 && nrOfTemplate <= 32)) {
|
||||
|
||||
int nTry = 50;
|
||||
while (!sys_ready4sending()) { // wait max. 5 seconds
|
||||
|
Loading…
Reference in New Issue
Block a user