diff view/View.h @ 837:6c4cab21e387

Use fixed-order layer list for property container enumeration. Fixes habit of the layer property tabs to jump about when adding a new layer.
author Chris Cannam
date Tue, 02 Sep 2014 15:25:27 +0100
parents 7792b7667f74
children 532302d04571
line wrap: on
line diff
--- a/view/View.h	Tue Sep 02 15:20:23 2014 +0100
+++ b/view/View.h	Tue Sep 02 15:25:27 2014 +0100
@@ -286,6 +286,8 @@
 
     virtual int getPropertyContainerCount() const;
 
+    // The 0th property container is the view's own; the rest are the
+    // layers in fixed-order series
     virtual const PropertyContainer *getPropertyContainer(int i) const;
     virtual PropertyContainer *getPropertyContainer(int i);