13
0

make rec-enable click while step-editing exit step-editing mode... d'uh!

git-svn-id: svn://localhost/ardour2/branches/3.0@11442 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-02-03 21:02:18 +00:00
parent cde108107d
commit 5e92f14dc5

View File

@ -543,10 +543,11 @@ RouteUI::rec_enable_press(GdkEventButton* ev)
if (is_midi_track()) {
/* cannot rec-enable while step-editing */
/* rec-enable button exits from step editing */
if (midi_track()->step_editing()) {
return true;
midi_track()->set_step_editing (false);
return true;
}
}