mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Tab to prev/next name-entry: skip only rec-armed tracks
This commit is contained in:
parent
aa8128cdf5
commit
9f1293bfe5
1 changed files with 2 additions and 2 deletions
|
|
@ -661,7 +661,7 @@ TimeAxisView::end_name_edit (std::string str, int next_dir)
|
||||||
|
|
||||||
RouteTimeAxisView* rtav = dynamic_cast<RouteTimeAxisView*>(*i);
|
RouteTimeAxisView* rtav = dynamic_cast<RouteTimeAxisView*>(*i);
|
||||||
|
|
||||||
if (rtav && (!rtav->is_track() || rtav->track()->rec_enable_control()->get_value())) {
|
if (rtav && rtav->is_track() && rtav->track()->rec_enable_control()->get_value()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -692,7 +692,7 @@ TimeAxisView::end_name_edit (std::string str, int next_dir)
|
||||||
|
|
||||||
RouteTimeAxisView* rtav = dynamic_cast<RouteTimeAxisView*>(*i);
|
RouteTimeAxisView* rtav = dynamic_cast<RouteTimeAxisView*>(*i);
|
||||||
|
|
||||||
if (rtav && (!rtav->is_track() || rtav->track()->rec_enable_control()->get_value())) {
|
if (rtav && rtav->is_track() && rtav->track()->rec_enable_control()->get_value()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue