diff options
-rw-r--r-- | cui/source/customize/cfg.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index c7d4a0194006..4d50289d8576 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -2635,6 +2635,9 @@ IMPL_LINK_NOARG_TYPED( SvxMenuConfigPage, SelectMenu, ListBox&, void ) m_pContentsListBox->Clear(); SvxConfigEntry* pMenuData = GetTopLevelSelection(); + m_pModifyTopLevelButton->Enable( pMenuData != nullptr ); + m_pModifyCommandButton->Enable( pMenuData != nullptr ); + m_pAddCommandsButton->Enable( pMenuData != nullptr ); PopupMenu* pPopup = m_pModifyTopLevelButton->GetPopupMenu(); if ( pMenuData ) |