diff layer/Colour3DPlotLayer.cpp @ 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 c72d78d7890a
children b3603483228d
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);