Hi,
another simple patch to trigger the menu items "Tracks->Move Tracks Up" and
"Tracks->Move Tracks Down" by the hotkey Shift-Up and Shift-Down.
Anyone interested in porting cinelerra to Qt?
diff --git a/cinelerra/mainmenu.C b/cinelerra/mainmenu.C
index 2c0fa8d..6f167d2 100644
--- a/cinelerra/mainmenu.C
+++ b/cinelerra/mainmenu.C
@@ -981,7 +981,7 @@ int DeleteTrack::handle_event()
}
MoveTracksUp::MoveTracksUp(MWindow *mwindow)
- : BC_MenuItem(_("Move tracks up"))
+ : BC_MenuItem(_("Move tracks up"), "Shift+Up", UP)
{
set_shift(); this->mwindow = mwindow;
}
@@ -993,7 +993,7 @@ int MoveTracksUp::handle_event()
}
MoveTracksDown::MoveTracksDown(MWindow *mwindow)
- : BC_MenuItem(_("Move tracks down"))
+ : BC_MenuItem(_("Move tracks down"), "Shift+Down", DOWN)
{
set_shift(); this->mwindow = mwindow;
}
Have fun
Johannes
_______________________________________________
Cinelerra mailing list
[email protected]
https://lists.skolelinux.org/listinfo/cinelerra