mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
safety fix, in case non-Route stripable is selected
This commit is contained in:
parent
df90dbd7bb
commit
02684009eb
1 changed files with 3 additions and 1 deletions
|
|
@ -170,7 +170,9 @@ DuplicateRouteDialog::on_response (int response)
|
|||
|
||||
for (TrackSelection::iterator t = tracks.begin(); t != tracks.end(); ++t) {
|
||||
RouteUI* rui = dynamic_cast<RouteUI*> (*t);
|
||||
sl.push_back (rui->route());
|
||||
if (rui) {
|
||||
sl.push_back (rui->route());
|
||||
}
|
||||
}
|
||||
|
||||
sl.sort (Stripable::Sorter());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue