Mercurial > hg > svgui
diff layer/TimeValueLayer.cpp @ 1198:69ff93e0c624 levelpanwidget
Introduce a colour map combo too. Doesn't yet have swatches
author | Chris Cannam |
---|---|
date | Fri, 16 Dec 2016 14:16:05 +0000 |
parents | ee01a4062747 |
children | 491dd600570c |
line wrap: on
line diff
--- a/layer/TimeValueLayer.cpp Fri Dec 16 13:10:21 2016 +0000 +++ b/layer/TimeValueLayer.cpp Fri Dec 16 14:16:05 2016 +0000 @@ -132,7 +132,7 @@ if (name == "Plot Type") return ValueProperty; if (name == "Vertical Scale") return ValueProperty; if (name == "Scale Units") return UnitsProperty; - if (name == "Colour" && m_plotStyle == PlotSegmentation) return ValueProperty; + if (name == "Colour" && m_plotStyle == PlotSegmentation) return ColourMapProperty; if (name == "Draw Segment Division Lines") return ToggleProperty; if (name == "Show Derivative") return ToggleProperty; return SingleColourLayer::getPropertyType(name);