mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Restore separators after "Move Track to Bottom" in TCP menus
This commit is contained in:
@@ -695,8 +695,19 @@ struct ToolbarMenuVisitor : MenuVisitor
|
||||
namespace MenuTable {
|
||||
using namespace Registry;
|
||||
|
||||
// These are found by dynamic_cast
|
||||
struct MenuSection {
|
||||
virtual ~MenuSection();
|
||||
};
|
||||
struct WholeMenu {
|
||||
WholeMenu( bool extend = false ) : extension{ extend } {}
|
||||
virtual ~WholeMenu();
|
||||
bool extension;
|
||||
};
|
||||
|
||||
// Describes a main menu in the toolbar, or a sub-menu
|
||||
struct MenuItem final : ConcreteGroupItem< false, ToolbarMenuVisitor > {
|
||||
struct MenuItem final : ConcreteGroupItem< false, ToolbarMenuVisitor >
|
||||
, WholeMenu {
|
||||
// Construction from an internal name and a previously built-up
|
||||
// vector of pointers
|
||||
MenuItem( const Identifier &internalName,
|
||||
@@ -842,11 +853,6 @@ namespace MenuTable {
|
||||
Appender fn;
|
||||
};
|
||||
|
||||
// This exists only so that dynamic_cast can find it
|
||||
struct MenuSection {
|
||||
virtual ~MenuSection();
|
||||
};
|
||||
|
||||
struct MenuPart : ConcreteGroupItem< false, ToolbarMenuVisitor >, MenuSection
|
||||
{
|
||||
template< typename... Args >
|
||||
|
||||
Reference in New Issue
Block a user