Fix thinko with dragging one of >1 tabs in the same
route group (#4301). git-svn-id: svn://localhost/ardour2/branches/3.0@10044 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
881b5a43e7
commit
9f1b50cc3e
@ -205,8 +205,9 @@ GroupTabs::on_button_release_event (GdkEventButton* ev)
|
||||
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
|
||||
|
||||
if (find (routes.begin(), routes.end(), *i) == routes.end()) {
|
||||
/* this route is not on the list of those that should be in _dragging's group */
|
||||
if ((*i)->route_group() == _dragging->group) {
|
||||
/* this route is not contained in the tab we are dragging ... */
|
||||
if ((*i)->route_group() != _dragging->group) {
|
||||
/* and it's not in the dragged tab's group either */
|
||||
_dragging->group->remove (*i);
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user