diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2020-09-18 17:12:38 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@cib.de> | 2020-09-21 10:47:00 +0200 |
commit | fefcad1186232b26180d095bbafdf8e8bdda8209 (patch) | |
tree | 810ae180b1238dab0849b72e28df5864390a47b2 | |
parent | a6a1cfe0bf1c176d3f0cd385d494b7c0e8133815 (diff) |
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.stahl@cib.de>
-rw-r--r-- | sw/source/ui/misc/bookmark.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/ui/misc/bookmark.cxx b/sw/source/ui/misc/bookmark.cxx index b69cce75b47b..33cdbee276fa 100644 --- a/sw/source/ui/misc/bookmark.cxx +++ b/sw/source/ui/misc/bookmark.cxx @@ -163,6 +163,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 |