X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fmwindowgui.C;h=1b00a0fb541dbbee3ebe88f2e87a64cc33a3aa3a;hb=128492e56ad719c2173a56379f423f6791f14906;hp=6381fa077cce58769db42c5ad226686e68e88357;hpb=b4017f68039ef7e31eedee4a27580a28bee36fc5;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/mwindowgui.C b/cinelerra-5.1/cinelerra/mwindowgui.C index 6381fa07..1b00a0fb 100644 --- a/cinelerra-5.1/cinelerra/mwindowgui.C +++ b/cinelerra-5.1/cinelerra/mwindowgui.C @@ -1090,20 +1090,23 @@ int MWindowGUI::keypress_event() switch( get_keypress() ) { case 'A': - if( !alt_down() && ctrl_down() ) { + if( !alt_down() ) { + if( !ctrl_down() || !shift_down() ) break; mwindow->edl->tracks->clear_selected_edits(); draw_overlays(1); result = 1; - } - break; + break; + } // fall thru case 'a': - if( !ctrl_down() && alt_down() ) { - stop_transport("MWindowGUI::keypress_event 1"); - mwindow->nearest_auto_keyframe(shift_down(), - !ctrl_down() ? PLAY_FORWARD : PLAY_REVERSE); - result = 1; - } - else if( ctrl_down() && alt_down() ) { + if( !alt_down() ) break; + stop_transport("MWindowGUI::keypress_event 1"); + mwindow->nearest_auto_keyframe(shift_down(), + !ctrl_down() ? PLAY_FORWARD : PLAY_REVERSE); + result = 1; + break; + + case '\'': + if( ctrl_down() && alt_down() ) { mwindow->select_edits(1); result = 1; }