mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-11 08:56:03 +01:00
Remove Separator items from menu descriptions; use Section(...)
This commit is contained in:
@@ -138,8 +138,6 @@ ConditionalGroupItem::ConditionalGroupItem(
|
||||
}
|
||||
ConditionalGroupItem::~ConditionalGroupItem() {}
|
||||
|
||||
SeparatorItem::~SeparatorItem() {}
|
||||
|
||||
CommandItem::CommandItem(const CommandID &name_,
|
||||
const TranslatableString &label_in_,
|
||||
CommandFunctorPointer callback_,
|
||||
@@ -427,10 +425,6 @@ struct MenuItemVisitor : MenuVisitor
|
||||
pCommandList->flags, pCommandList->isEffect);
|
||||
}
|
||||
else
|
||||
if (dynamic_cast<SeparatorItem*>( pItem )) {
|
||||
manager.AddSeparator();
|
||||
}
|
||||
else
|
||||
if (const auto pSpecial =
|
||||
dynamic_cast<SpecialItem*>( pItem )) {
|
||||
const auto pCurrentMenu = manager.CurrentMenu();
|
||||
|
||||
Reference in New Issue
Block a user