sw/source/ui/misc/bookmark.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 88084ceca708a343fc79249f91eb9de34d26b3e9
Author:     Michael Stahl <michael.st...@cib.de>
AuthorDate: Fri Sep 18 17:12:38 2020 +0200
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Mon Sep 21 13:11:45 2020 +0200

    tdf#135879 sw: fix bookmark dialog's Delete button
    
    (regression from cb5d18871b46ef4f7bc47eb4d71df5374d712575)
    
    Change-Id: Ic8c66504a760ef26fbf95a5a1a13b37346982024
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103015
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <michael.st...@cib.de>
    (cherry picked from commit fefcad1186232b26180d095bbafdf8e8bdda8209)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103049
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sw/source/ui/misc/bookmark.cxx b/sw/source/ui/misc/bookmark.cxx
index be22962fcf8d..731fe0651cf7 100644
--- a/sw/source/ui/misc/bookmark.cxx
+++ b/sw/source/ui/misc/bookmark.cxx
@@ -164,6 +164,7 @@ IMPL_LINK_NOARG(SwInsertBookmarkDlg, SelectionChangedHdl, 
weld::TreeView&, void)
         m_xInsertBtn->set_sensitive(false);
         m_xGotoBtn->set_sensitive(nSelectedRows == 1);
         m_xRenameBtn->set_sensitive(nSelectedRows == 1 && !m_bAreProtected);
+        m_xDeleteBtn->set_sensitive(!m_bAreProtected);
         m_xEditBox->set_text(sEditBoxText.makeStringAndClear());
     }
     else
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to