13
0

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
This commit is contained in:
Carl Hetherington 2012-09-08 01:03:00 +00:00
parent 6568182452
commit f404e90836

View File

@ -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; }