1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-16 08:34:10 +02:00

Make shortcut keys for moves really appear in track control menu...

These are "Moved focused track up/down/to top/to bottom" in keyboard
preferences.

There were prior changes that made any shortcuts for them appear in the track
control drop-down menu, but only after closing Preferences.  They still did
not appear after restart of Audacity, although the keystrokes had their effect.

See commit bb7dba2b678735da60b857fa99e963396d5a875f
and commit 7608e9cb521a6d57a030e1339b980c85f6b97227
This commit is contained in:
Paul Licameli 2016-10-21 10:51:17 -04:00
parent 1914fc6437
commit 25b7a0040f

View File

@ -507,8 +507,6 @@ TrackPanel::TrackPanel(wxWindow * parent, wxWindowID id,
mLabelTrackMenu = NULL; mLabelTrackMenu = NULL;
mTimeTrackMenu = NULL; mTimeTrackMenu = NULL;
BuildMenus();
mTrackArtist = std::make_unique<TrackArtist>(); mTrackArtist = std::make_unique<TrackArtist>();
mTrackArtist->SetInset(1, kTopMargin, kRightMargin, kBottomMargin); mTrackArtist->SetInset(1, kTopMargin, kRightMargin, kBottomMargin);