comparison 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
comparison
equal deleted inserted replaced
960:6f97f5149cb3 962:b12cd1c2dad5
196 LayerFactory::getValidEmptyLayerTypes() 196 LayerFactory::getValidEmptyLayerTypes()
197 { 197 {
198 LayerTypeSet types; 198 LayerTypeSet types;
199 types.insert(TimeInstants); 199 types.insert(TimeInstants);
200 types.insert(TimeValues); 200 types.insert(TimeValues);
201 types.insert(FlexiNotes); 201 // Because this is strictly a UI function -- list the layer types
202 // to show in a menu -- it should not contain FlexiNotes; the
203 // layer isn't meaningfully editable in SV
204 // types.insert(FlexiNotes);
202 types.insert(Notes); 205 types.insert(Notes);
203 types.insert(Regions); 206 types.insert(Regions);
204 types.insert(Text); 207 types.insert(Text);
205 types.insert(Image); 208 types.insert(Image);
206 //!!! and in principle Colour3DPlot -- now that's a challenge 209 //!!! and in principle Colour3DPlot -- now that's a challenge