sfx2/source/doc/templatedlg.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 99a86cdf098e68d0a35f6a9af06ffe8c8e03c905
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Fri Dec 18 13:16:18 2020 +0000
Commit:     Adolfo Jayme Barrientos <fit...@ubuntu.com>
CommitDate: Wed Dec 23 08:59:23 2020 +0100

    Delete Category dialog includes '~' text in the titlebar
    
    Change-Id: I8581e5219ffc690e686a0d563463c19b682ea04b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107911
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>

diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index 3979db7cf573..6ccff8f7a655 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>
 
@@ -1124,7 +1125,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)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to