diff layer/LayerFactory.cpp @ 962:b12cd1c2dad5

Fix #1220 Flexi-note layer appears in Layers menu
author Chris Cannam
date Thu, 14 May 2015 14:57:42 +0100
parents 1d526ba11a24
children b247d3ffcbb9
line wrap: on
line diff
--- a/layer/LayerFactory.cpp	Tue May 12 14:25:00 2015 +0100
+++ b/layer/LayerFactory.cpp	Thu May 14 14:57:42 2015 +0100
@@ -198,7 +198,10 @@
     LayerTypeSet types;
     types.insert(TimeInstants);
     types.insert(TimeValues);
-    types.insert(FlexiNotes);
+    // Because this is strictly a UI function -- list the layer types
+    // to show in a menu -- it should not contain FlexiNotes; the
+    // layer isn't meaningfully editable in SV
+//    types.insert(FlexiNotes);
     types.insert(Notes);
     types.insert(Regions);
     types.insert(Text);