diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2018-12-22 17:40:26 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2018-12-27 17:18:21 -0500 |
commit | b09ac181e0efdb68ea4a22e44f483ded339d93a8 (patch) | |
tree | 7305ab10eba65ecf06560c6dde2b0178a03253bc /gtk2_ardour/route_ui.cc | |
parent | d50d8b9d3367358b970755eb82c4e608b09314f0 (diff) |
div wrapping
Diffstat (limited to 'gtk2_ardour/route_ui.cc')
-rw-r--r-- | gtk2_ardour/route_ui.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc index 68c9a0909e..06c984adcb 100644 --- a/gtk2_ardour/route_ui.cc +++ b/gtk2_ardour/route_ui.cc @@ -779,9 +779,9 @@ RouteUI::rec_enable_press(GdkEventButton* ev) if (is_midi_track()) { - /* rec-enable button exits from step editing */ + /* rec-enable button exits from step editing, but not context click */ - if (midi_track()->step_editing()) { + if (!Keyboard::is_context_menu_event (ev) && midi_track()->step_editing()) { midi_track()->set_step_editing (false); return false; } @@ -992,6 +992,7 @@ RouteUI::toggle_rec_safe () void RouteUI::step_edit_changed (bool yn) { + cerr << _route->name() << " step editing changed to " << yn << endl; if (yn) { if (rec_enable_button) { rec_enable_button->set_active_state (Gtkmm2ext::ExplicitActive); |