Exciting new Alt/h help key provided by sge (Georgy) with many thanks!
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / swindow.C
index cbbde0e9fe40fcd76fe5ec474a683c873ff449a5..d57becf70b113aaa64c7ddae42c7b39f764d7e0e 100644 (file)
@@ -48,7 +48,7 @@ int SWindowOK::button_press_event()
 
 int SWindowOK::keypress_event()
 {
-       return 0;
+       return context_help_check_and_show();
 }
 
 
@@ -280,6 +280,8 @@ SWindowGUI::SWindowGUI(SWindow *swindow, int x, int y, int w, int h)
        text_font = MEDIUMFONT;
        text_rowsz = get_text_ascent(text_font)+1 + get_text_descent(text_font)+1;
        sub_format = SUB_FORMAT_SRT;
+// *** CONTEXT_HELP ***
+       context_help_set_keyword("Subtitles");
 }
 
 SWindowGUI::~SWindowGUI()