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

Reimplement commit 512c27d, fixing menus & shortcut keys on Windows

This commit is contained in:
Paul Licameli
2020-01-29 13:37:02 -05:00
parent ff2d20f335
commit 9639ba84f4
16 changed files with 40 additions and 45 deletions

View File

@@ -1132,11 +1132,10 @@ MenuTable::BaseItemSharedPtr Scrubber::Menu()
using namespace MenuTable;
using Options = CommandManager::Options;
static BaseItemSharedPtr menu {
FinderScope(
static BaseItemSharedPtr menu { (
FinderScope{
[](AudacityProject &project) -> CommandHandlerObject&
{ return Scrubber::Get( project ); }
).Eval(
{ return Scrubber::Get( project ); } },
MenuTable::Menu( wxT("Scrubbing"),
XO("Scru&bbing"),
[]{
@@ -1155,7 +1154,8 @@ MenuTable::BaseItemSharedPtr Scrubber::Menu()
}
return ptrs;
}()
) ) };
)
) };
return menu;
}