diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-12-18 13:16:18 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-12-18 16:48:46 +0100 |
commit | cba301460f1aaa1834e72796935cc1e88d74c19b (patch) | |
tree | 421967f36b8ab62ee7a61d9bc57e7ec9ee0f4bf7 /sfx2 | |
parent | ead1cdd23f5379f5cd8f69d5e73f410a67896db2 (diff) |
Delete Category dialog includes '~' text in the titlebar
Change-Id: I8581e5219ffc690e686a0d563463c19b682ea04b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107910
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/templatedlg.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index 313bf591862a..26787f0d2ac9 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -36,6 +36,7 @@ #include <unotools/pathoptions.hxx> #include <unotools/viewoptions.hxx> #include <vcl/event.hxx> +#include <vcl/mnemonic.hxx> #include <vcl/svapp.hxx> #include <vcl/weld.hxx> @@ -1110,7 +1111,7 @@ void SfxTemplateManagerDlg::OnCategoryDelete() SfxTemplateCategoryDialog aDlg(m_xDialog.get()); aDlg.SetCategoryLBEntries(mxLocalView->getFolderNames()); aDlg.HideNewCategoryOption(); - aDlg.set_title(SfxResId(STR_CATEGORY_DELETE)); + aDlg.set_title(MnemonicGenerator::EraseAllMnemonicChars(SfxResId(STR_CATEGORY_DELETE))); aDlg.SetSelectLabelText(SfxResId(STR_CATEGORY_SELECT)); if (aDlg.run() == RET_OK) |