From 59a5755ef7a3f0f5e7f67cc4bb0d2a750143d495 Mon Sep 17 00:00:00 2001 From: Minty Trebor Date: Sun, 3 Nov 2024 12:43:00 +0000 Subject: [PATCH] 01.03.07 Fixed bug with boolean global input panel --- src/BtnCmdMainPanel.vue | 4 ++-- src/BtnCmdVInputPanel.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/BtnCmdMainPanel.vue b/src/BtnCmdMainPanel.vue index 31b8070..4edfc08 100644 --- a/src/BtnCmdMainPanel.vue +++ b/src/BtnCmdMainPanel.vue @@ -972,9 +972,9 @@ export default { showSBCCEdit: false, tmpSBCCDef: {}, lastLayoutTabID: null, - btnCmdVersion: '01.03.06', + btnCmdVersion: '01.03.07', btnCmd : { - btnCmdVersion: '01.03.06', + btnCmdVersion: '01.03.07', btnCmdIDUpdateRun: true, systemSettings: { lastID: 1, diff --git a/src/BtnCmdVInputPanel.vue b/src/BtnCmdVInputPanel.vue index 636f501..6383b86 100644 --- a/src/BtnCmdVInputPanel.vue +++ b/src/BtnCmdVInputPanel.vue @@ -393,7 +393,7 @@ export default { tmpCmd = `set global.${this.passedObject.inputVarName} = ${tmpValue}`; tmpParent.code = tmpCmd; await tmpParent.send(); - this.passedObject.inputLastVal = Number(tmpValue); + this.passedObject.inputLastVal = tmpValue; } if(this.passedObject.inputAfterChangeGCodeCMD){ let tmpCmdStr = this.passedObject.inputAfterChangeGCodeCMD.replace("##VALUE##", tmpValue.toString());