}
int EditCut::keypress_event()
{
+ if( ctrl_down() || shift_down() || alt_down() )
+ return 0;
if( get_keypress() == 'x' )
return handle_event();
return 0;
{
this->mwindow = mwindow;
this->panel = panel;
- set_tooltip(_("Commercial ( shift X )"));
+ set_tooltip(_("Commercial ( shift A )"));
}
EditCommercial::~EditCommercial()
{
}
int EditCommercial::keypress_event()
{
- if( get_keypress() == 'X' )
+ if( ctrl_down() || !shift_down() || alt_down() )
+ return 0;
+ if( get_keypress() == 'A' )
return handle_event();
return 0;
}
}
int EditUndo::keypress_event()
{
+ if( ctrl_down() || shift_down() || alt_down() )
+ return 0;
if( get_keypress() == 'z' )
return handle_event();
return 0;
}
int EditRedo::keypress_event()
{
+ if( ctrl_down() || !shift_down() || alt_down() )
+ return 0;
if( get_keypress() == 'Z' )
return handle_event();
return 0;