diff options
author | Robin Gareus <robin@gareus.org> | 2018-12-04 22:07:27 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-12-04 22:07:27 +0100 |
commit | 9f1293bfe5d22c42ee222a5fd5129d8faebd17f5 (patch) | |
tree | 6ae3c65f6b68c9b870959e592752d45096109fe3 /gtk2_ardour/time_axis_view.cc | |
parent | aa8128cdf526c8f10b39ad4362101e4760be3319 (diff) |
Tab to prev/next name-entry: skip only rec-armed tracks
Diffstat (limited to 'gtk2_ardour/time_axis_view.cc')
-rw-r--r-- | gtk2_ardour/time_axis_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc index 1784608ad4..65118e75b9 100644 --- a/gtk2_ardour/time_axis_view.cc +++ b/gtk2_ardour/time_axis_view.cc @@ -661,7 +661,7 @@ TimeAxisView::end_name_edit (std::string str, int next_dir) 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; } @@ -692,7 +692,7 @@ TimeAxisView::end_name_edit (std::string str, int next_dir) 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; } |