| 1582 | {} |
| 1583 | |
| 1584 | void AttachedToolBarMenuItem::OnShowToolBar( const CommandContext &context ) |
| 1585 | { |
| 1586 | auto &project = context.project; |
| 1587 | auto &toolManager = ToolManager::Get( project ); |
| 1588 | |
| 1589 | if( !toolManager.IsVisible( mId ) ) |
| 1590 | { |
| 1591 | for ( const auto excludedID : mExcludeIds ) |
| 1592 | toolManager.Expose( excludedID, false ); |
| 1593 | } |
| 1594 | |
| 1595 | toolManager.ShowHide(mId); |
| 1596 | ToolManager::Get(project).ModifyToolbarMenus(project); |
| 1597 | } |
nothing calls this directly
no test coverage detected