diff options
author | Carl Hetherington <carl@carlh.net> | 2012-09-08 01:03:00 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-09-08 01:03:00 +0000 |
commit | f404e90836f7ee0d6ea1a3644234ca3db26f8b4f (patch) | |
tree | 1d41862d2d3d909323cadc135a01344b995b5154 /libs/ardour/ardour/region.h | |
parent | 65681824526b17dff234bd8210369d148b6e37ec (diff) |
I think Region::can_move() should take into account _locked
as well as the never-used (apart from ImageFrameView)
_position_locked. Fixes #5090.
git-svn-id: svn://localhost/ardour2/branches/3.0@13179 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/region.h')
-rw-r--r-- | libs/ardour/ardour/region.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/region.h b/libs/ardour/ardour/region.h index 1d7894fac5..85cdce6e92 100644 --- a/libs/ardour/ardour/region.h +++ b/libs/ardour/ardour/region.h @@ -167,7 +167,7 @@ class Region bool automatic () const { return _automatic; } bool whole_file () const { return _whole_file; } bool captured () const { return !(_import || _external); } - bool can_move () const { return !_position_locked; } + bool can_move () const { return !_position_locked && !_locked; } bool sync_marked () const { return _sync_marked; } bool external () const { return _external; } bool import () const { return _import; } |