X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fmwindowgui.C;fp=cinelerra-5.1%2Fcinelerra%2Fmwindowgui.C;h=1b00a0fb541dbbee3ebe88f2e87a64cc33a3aa3a;hb=e396ec02ad307df3c4d6c9857cfb84f7764f3806;hp=6381fa077cce58769db42c5ad226686e68e88357;hpb=58a3fb9e1f515cadd9ed6df0577b5df9cfb348eb;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; }