summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/location.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-07-14 21:18:25 +0000
committerCarl Hetherington <carl@carlh.net>2010-07-14 21:18:25 +0000
commit960a841479ec90b92c7adfb63c261e761842289c (patch)
tree34ca1cc1f5aa93c730dd652b7746b283654a5bd8 /libs/ardour/ardour/location.h
parentfb256229440e0c578705d8c052da22f25a8857de (diff)
Insert new LocationEditRow on location add, rather than rebuilding the whole VBox. Fixes #3266.
git-svn-id: svn://localhost/ardour2/branches/3.0@7416 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/location.h')
-rw-r--r--libs/ardour/ardour/location.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/location.h b/libs/ardour/ardour/location.h
index 7d3b0ac1a9..3f3eaf4fc8 100644
--- a/libs/ardour/ardour/location.h
+++ b/libs/ardour/ardour/location.h
@@ -104,6 +104,8 @@ class Location : public PBD::StatefulDestructible
bool is_range_marker() const { return _flags & IsRangeMarker; }
bool matches (Flags f) const { return _flags & f; }
+ Flags flags () const { return _flags; }
+
PBD::Signal1<void,Location*> name_changed;
PBD::Signal1<void,Location*> end_changed;
PBD::Signal1<void,Location*> start_changed;