mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
fix (potentially serious) typo that confused comparison with assignment
This commit is contained in:
parent
dd46dfe8d2
commit
75260f9c9b
1 changed files with 1 additions and 1 deletions
|
|
@ -321,7 +321,7 @@ EditorSources::remove_weak_region (boost::weak_ptr<ARDOUR::Region> r)
|
|||
TreeModel::Children rows = _model->children();
|
||||
for (TreeModel::iterator i = rows.begin(); i != rows.end(); ++i) {
|
||||
boost::shared_ptr<ARDOUR::Region> rr = (*i)[_columns.region];
|
||||
if (rr = region) {
|
||||
if (rr == region) {
|
||||
_model->erase(i);
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue