Fixed if statement which resulted in failure to apply color map as text.

Change-Id: I7359b4ac03d3820a34432de376e1b9bc26e56a87
Merge topic 'fix-transferfunction-applycolormap-text' into next

cfdc7bed Fixed if statement which resulted in failure to apply color map as text.