From effffd6018b8cfffced36c4b93eaa0cb65b815b8 Mon Sep 17 00:00:00 2001 From: looptailG <99362337+looptailG@users.noreply.github.com> Date: Mon, 27 May 2024 00:01:24 +0200 Subject: [PATCH] Removed reference to non-existing parameter --- source/31EdoTuner.qml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/31EdoTuner.qml b/source/31EdoTuner.qml index e0b4c2d..4c49f26 100644 --- a/source/31EdoTuner.qml +++ b/source/31EdoTuner.qml @@ -24,7 +24,7 @@ MuseScore { menuPath: "Plugins.Tuner.31EDO"; description: "Retune the selection, or the whole score if nothing is selected, to 31EDO."; - version: "1.5.2"; + version: "1.5.3"; Component.onCompleted: { @@ -602,14 +602,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; } }