changeset 1252:b0b5776d2156

Fix attribute name -- it's colourScale in the spectrogram, but it's just scale here
author Chris Cannam
date Tue, 28 Feb 2017 16:34:01 +0000
parents 9e1559b08f0d
children 822edd9bb665
files layer/Colour3DPlotLayer.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/layer/Colour3DPlotLayer.cpp	Tue Feb 28 14:47:13 2017 +0000
+++ b/layer/Colour3DPlotLayer.cpp	Tue Feb 28 16:34:01 2017 +0000
@@ -1216,7 +1216,7 @@
     bool ok = false, alsoOk = false;
 
     ColourScaleType colourScale = convertToColourScale
-        (attributes.value("colourScale").toInt(&ok));
+        (attributes.value("scale").toInt(&ok));
     if (ok) setColourScale(colourScale);
 
     int colourMap = attributes.value("colourScheme").toInt(&ok);