X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fcinelerra%2Fzwindowgui.C;h=722e6c14988dc7c7186ffc9f9e2991684a18cfdc;hb=HEAD;hp=515d41ba047d55ade72ef7f8b3ff53f82e9bb478;hpb=f1fc28e0bbb5a7c0e153ef9c1abdbfb1186e1acc;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/zwindowgui.C b/cinelerra-5.1/cinelerra/zwindowgui.C index 515d41ba..94b52e1c 100644 --- a/cinelerra-5.1/cinelerra/zwindowgui.C +++ b/cinelerra-5.1/cinelerra/zwindowgui.C @@ -48,6 +48,8 @@ ZWindowGUI::ZWindowGUI(MWindow *mwindow, ZWindow *zwindow, Mixer *mixer) playback_engine = 0; highlighted = 0; playable = zwindow->playable; +// *** CONTEXT_HELP *** + context_help_set_keyword("Multi-Camera"); } ZWindowGUI::~ZWindowGUI() @@ -114,6 +116,9 @@ int ZWindowGUI::keypress_event() lock_window("ZWindowGUI::keypress_event 1"); } + if( !result ) + result = context_help_check_and_show(); + return result; } @@ -130,7 +135,7 @@ int ZWindowGUI::button_press_event() start = mwindow->edl->tracks->total_recordable_length(); if( start < 0 ) start = end; } - if( (end-start) > 1e-4 ) { + if( (end-start) > 1e-4 && zwindow->edl ) { LocalSession *zlocal_session = zwindow->edl->local_session; zlocal_session->set_selectionstart(end); zlocal_session->set_selectionend(end);