diff layer/SpectrogramLayer.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 7a19738b9762
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp	Tue Jan 03 16:14:59 2017 +0000
+++ b/layer/SpectrogramLayer.cpp	Tue Jan 03 16:23:11 2017 +0000
@@ -440,7 +440,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 == "Window Size") {
 	return QString("%1").arg(32 << value);