diff --git a/src/components/ScaleBuilder.vue b/src/components/ScaleBuilder.vue index 380b9d07..5449b30f 100644 --- a/src/components/ScaleBuilder.vue +++ b/src/components/ScaleBuilder.vue @@ -194,6 +194,9 @@ const exportTextClipboard = ref("Copy this scale's unique URL to clipboard"); async function doImport(importerKey: ImporterKey, event: Event) { const result = await importFile(importerKey, event); emit("update:scaleLines", result.scale.toStrings()); + if (importerKey != "scalascl") { + emit("update:baseFrequency", result.scale.baseFrequency); + } if (result.name !== undefined) { emit("update:scaleName", result.name); }