diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-11-25 10:33:42 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-11-26 09:55:11 +0100 |
commit | 35de720fcb3154cb0511b3aae8b99f20fc6712c9 (patch) | |
tree | 0e3383fe82bc2bf498a19685dcb00f35c56b13e3 /cui/source/customize/cfg.cxx | |
parent | 2d341a75c083cf2336fd14db66e850109fe83c89 (diff) |
tdf#126043 cache the appname and filename
Change-Id: I10987f8a447785eb0d9887f94ee0ffb0da99649a
Reviewed-on: https://gerrit.libreoffice.org/83658
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/customize/cfg.cxx')
-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 4e084ce21951..2ff9df40902d 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -48,6 +48,7 @@ #include <acccfg.hxx> #include <cfg.hxx> +#include <CustomNotebookbarGenerator.hxx> #include <SvxMenuConfigPage.hxx> #include <SvxToolbarConfigPage.hxx> #include <SvxNotebookbarConfigPage.hxx> @@ -992,6 +993,8 @@ SvxConfigPage::SvxConfigPage(weld::Container* pPage, weld::DialogController* pCo , m_xAddCommandButton(m_xBuilder->weld_button("add")) , m_xRemoveCommandButton(m_xBuilder->weld_button("remove")) { + CustomNotebookbarGenerator::getFileNameAndAppName(m_sAppName, m_sFileName); + m_xTopLevelListBox->connect_changed(LINK(this, SvxConfigPage, SelectElementHdl)); weld::TreeView& rTreeView = m_xFunctions->get_widget(); |