summaryrefslogtreecommitdiff
path: root/cui/source/customize/SvxToolbarConfigPage.cxx
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@collabora.com>2020-06-26 02:09:34 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2020-06-26 09:16:10 +0200
commite4e69bb6751ffdc53d8a4d8869249545c9eb64f0 (patch)
tree2c49a07892b0fca77673aceee22b7c3b78647f1f /cui/source/customize/SvxToolbarConfigPage.cxx
parentd4c92c836c42d8fa7e31657d0534bef3979a03e2 (diff)
Customize: Update description box on auto select
When you open the dialog, select a category, or enter a search/filter term, the first entry on the functions list was selected automatically but the description box was not updated properly. Change-Id: I23737c540ab67af3e79694365b8c8c31c4f60ed3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97188 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'cui/source/customize/SvxToolbarConfigPage.cxx')
-rw-r--r--cui/source/customize/SvxToolbarConfigPage.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/cui/source/customize/SvxToolbarConfigPage.cxx b/cui/source/customize/SvxToolbarConfigPage.cxx
index 57d1baa0268b..ea17c407c0f2 100644
--- a/cui/source/customize/SvxToolbarConfigPage.cxx
+++ b/cui/source/customize/SvxToolbarConfigPage.cxx
@@ -277,6 +277,7 @@ void SvxToolbarConfigPage::Init()
comphelper::getProcessComponentContext(),
m_xFrame, m_aModuleId);
m_xCommandCategoryListBox->categorySelected(m_xFunctions.get(), OUString(), GetSaveInData());
+ SelectFunctionHdl(m_xFunctions->get_widget());
}
SaveInData* SvxToolbarConfigPage::CreateSaveInData(
@@ -425,6 +426,8 @@ IMPL_LINK_NOARG( SvxToolbarConfigPage, SelectCategory, weld::ComboBox&, void )
OUString aSearchTerm(m_xSearchEdit->get_text());
m_xCommandCategoryListBox->categorySelected(m_xFunctions.get(), aSearchTerm, GetSaveInData());
+
+ SelectFunctionHdl(m_xFunctions->get_widget());
}
IMPL_LINK_NOARG( SvxToolbarConfigPage, AddCommandHdl, weld::Button&, void )