+int EditClick2Play::keypress_event()
+{
+ int key = get_keypress();
+ if( key == 'p' && !ctrl_down() && !shift_down() && !alt_down() ) {
+ int value = get_value() ? 0 : 1;
+ update(value);
+ if( !panel->is_vwindow() )
+ mwindow->edl->session->cwindow_click2play = value;
+ else
+ mwindow->edl->session->vwindow_click2play = value;
+ return 1;
+ }
+ return 0;
+}
+