diff layer/Colour3DPlotLayer.cpp @ 1209:f7bb22999d2e 3.0-integration

Provisionally add labels for normalisation menu (sigh)
author Chris Cannam
date Tue, 03 Jan 2017 16:23:11 +0000
parents 69ff93e0c624
children a1ee3108d1d3
line wrap: on
line diff
--- a/layer/Colour3DPlotLayer.cpp	Tue Jan 03 16:14:59 2017 +0000
+++ b/layer/Colour3DPlotLayer.cpp	Tue Jan 03 16:23:11 2017 +0000
@@ -388,7 +388,14 @@
 	}
     }
     if (name == "Normalization") {
-        return ""; // icon only
+        switch(value) {
+        default:
+        case 0: return tr("None");
+        case 1: return tr("Col");
+        case 2: return tr("View");
+        case 3: return tr("Hybrid");
+        }
+//        return ""; // icon only
     }
     if (name == "Bin Scale") {
 	switch (value) {