}
int EditOverwrite::keypress_event()
{
- if( get_keypress() == 'b' ) {
+ if( alt_down() ) return 0;
+ if( get_keypress() == 'b' ||
+ (panel->is_vwindow() && get_keypress() == 'B') ) {
handle_event();
return 1;
}
int EditToClip::keypress_event()
{
- if( get_keypress() == 'i' && !alt_down() ) {
+ if( alt_down() ) return 0;
+ if( get_keypress() == 'i' ||
+ (panel->is_vwindow() && get_keypress() == 'I') ) {
handle_event();
return 1;
}
}
int EditSplice::keypress_event()
{
- if( get_keypress() == 'v' ) {
+ if( alt_down() ) return 0;
+ if( get_keypress() == 'v' ||
+ (panel->is_vwindow() && get_keypress() == 'V') ) {
handle_event();
return 1;
}
{
this->mwindow = mwindow;
this->panel = panel;
- set_tooltip(_("Cut ( x )"));
+ set_tooltip(_("Split | Cut ( x )"));
}
EditCut::~EditCut()
{
int EditCopy::keypress_event()
{
- if( get_keypress() == 'c' )
+ if( alt_down() ) return 0;
+ if( get_keypress() == 'c' ||
+ (panel->is_vwindow() && get_keypress() == 'C') ) {
return handle_event();
+ }
return 0;
}
int EditCopy::handle_event()