X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fbcbutton.C;h=00eb8cb716015c84c6f73e13b468b184ab44aafe;hp=03256e60f3b7a68bd8d633e43b07d1b377d14767;hb=b104b77f5296719bd5e6de8472eb71542ddaedec;hpb=eabda9cf447580a974fd3d67a3d0a26f09aeb523 diff --git a/cinelerra-5.1/guicast/bcbutton.C b/cinelerra-5.1/guicast/bcbutton.C index 03256e60..00eb8cb7 100644 --- a/cinelerra-5.1/guicast/bcbutton.C +++ b/cinelerra-5.1/guicast/bcbutton.C @@ -290,7 +290,7 @@ int BC_OKButton::resize_event(int w, int h) int BC_OKButton::keypress_event() { if(get_keypress() == RETURN) return handle_event(); - return 0; + return context_help_check_and_show(); } int BC_OKButton::calculate_h() @@ -354,7 +354,7 @@ int BC_CancelButton::resize_event(int w,int h) int BC_CancelButton::keypress_event() { if(get_keypress() == ESC) return handle_event(); - return 0; + return context_help_check_and_show(); } int BC_CancelButton::calculate_h() @@ -512,7 +512,7 @@ int BC_OKTextButton::handle_event() int BC_OKTextButton::keypress_event() { if(get_keypress() == RETURN) return handle_event(); - return 0; + return context_help_check_and_show(); } @@ -541,7 +541,7 @@ int BC_CancelTextButton::handle_event() int BC_CancelTextButton::keypress_event() { if(get_keypress() == ESC) return handle_event(); - return 0; + return context_help_check_and_show(); }