clip folder bug on reload, expander user folder drag/drop segv, remove libfdk src...
[goodguy/history.git] / cinelerra-5.1 / cinelerra / editpanel.C
index 1c357b549332165af74ebc32a0a5bc507fc19351..b370723a0a4a8f0f49acec859d6eae32c38df2e4 100644 (file)
@@ -953,6 +953,8 @@ EditCut::~EditCut()
 }
 int EditCut::keypress_event()
 {
+       if( ctrl_down() || shift_down() || alt_down() )
+               return 0;
        if( get_keypress() == 'x' )
                return handle_event();
        return 0;
@@ -1011,14 +1013,16 @@ EditCommercial::EditCommercial(MWindow *mwindow, EditPanel *panel, int x, int y)
 {
        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;
 }
@@ -1180,6 +1184,8 @@ EditUndo::~EditUndo()
 }
 int EditUndo::keypress_event()
 {
+       if( ctrl_down() || shift_down() || alt_down() )
+               return 0;
        if( get_keypress() == 'z' )
                return handle_event();
        return 0;
@@ -1202,6 +1208,8 @@ EditRedo::~EditRedo()
 }
 int EditRedo::keypress_event()
 {
+       if( ctrl_down() || !shift_down() || alt_down() )
+               return 0;
        if( get_keypress() == 'Z' )
                return handle_event();
        return 0;