summaryrefslogtreecommitdiff
path: root/framework/source/uielement/toolbarmanager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/uielement/toolbarmanager.cxx')
-rw-r--r--framework/source/uielement/toolbarmanager.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx
index 3e12b5efef78..7f55ed11ef57 100644
--- a/framework/source/uielement/toolbarmanager.cxx
+++ b/framework/source/uielement/toolbarmanager.cxx
@@ -1765,6 +1765,9 @@ bool ToolBarManager::MenuItemAllowed( sal_uInt16 ) const
pMenu->SetPopupMenu( 1, pItemMenu );
}
+ // Set the title of the menu
+ pMenu->SetText( pToolBar->GetText() );
+
if ( bHideDisabledEntries )
pMenu->RemoveDisabledEntries();