From 119b84eb8dee99e5a4f0310ab88916ada559c526 Mon Sep 17 00:00:00 2001 From: looptailG <99362337+looptailG@users.noreply.github.com> Date: Mon, 27 May 2024 00:08:03 +0200 Subject: [PATCH] Removed reference to non-existing parameter --- source/22EdoTuner.qml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/22EdoTuner.qml b/source/22EdoTuner.qml index ff69ad3..362e58b 100644 --- a/source/22EdoTuner.qml +++ b/source/22EdoTuner.qml @@ -24,7 +24,7 @@ MuseScore { menuPath: "Plugins.Tuner.22EDO"; description: "Retune the selection, or the whole score if nothing is selected, to 22EDO."; - version: "1.1.3"; + version: "1.1.4"; Component.onCompleted: { @@ -733,14 +733,14 @@ MuseScore */ function getAccidentalEdoSteps(accidentalName) { - var accidental = supportedAccidentals[accidentalName]["EDO_STEPS"]; - if (accidental !== undefined) + var edoSteps = supportedAccidentals[accidentalName]["EDO_STEPS"]; + if (edoSteps !== undefined) { - return accidental; + return edoSteps; } else { - throw "Could not find the following accidental in the accidentals mapping: " + note.accidentalType; + throw "Could not find the following accidental in the accidentals mapping: " + accidentalName; } }