From f81369944c50dc9fa81e7fed1acc7e60457b5e0a Mon Sep 17 00:00:00 2001 From: Siegfried Siegert Date: Fri, 8 Mar 2024 13:09:19 +0100 Subject: [PATCH] FOOD_STAMP: build template list ... Ths last template printed is different (this includes e.g. a full cut whereas the other templates have only a semi-cut. --- src/ATBAPP/ATBDeviceControllerPlugin.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ATBAPP/ATBDeviceControllerPlugin.cpp b/src/ATBAPP/ATBDeviceControllerPlugin.cpp index fa27e87..85fd127 100644 --- a/src/ATBAPP/ATBDeviceControllerPlugin.cpp +++ b/src/ATBAPP/ATBDeviceControllerPlugin.cpp @@ -1000,6 +1000,11 @@ void ATBDeviceControllerPlugin::private_setupTemplateList_FOOD_STAMP(const QHash qCritical() << "printingData[\"multiplicator\"]" << multiplicatorInt; + for (int i = 1; i < multiplicatorInt; i++) { + this->templateList << 1; + } + // last template: + this->templateList << 2; }