1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-14 17:14:07 +01:00

PopupMenuTable does not need TranslatableArray...

... because the strings in it are TranslatableString, not translated
This commit is contained in:
Paul Licameli
2020-02-02 17:32:23 -05:00
parent 48b5988c7d
commit 6e57428e47
2 changed files with 16 additions and 4 deletions

View File

@@ -608,9 +608,8 @@ protected:
WaveTrackMenuTable &WaveTrackMenuTable::Instance( Track * pTrack )
{
static WaveTrackMenuTable instance;
wxCommandEvent evt;
// Clear it out so we force a repopulate
instance.Invalidate( evt );
instance.Clear();
// Ensure we know how to populate.
// Messy, but the design does not seem to offer an alternative.
// We won't use pTrack after populate.