[Libreoffice-commits] core.git: sw/source
Michael Stahl (via logerrit)
logerrit at kemper.freedesktop.org
Mon Sep 21 08:47:37 UTC 2020
sw/source/ui/misc/bookmark.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit fefcad1186232b26180d095bbafdf8e8bdda8209
Author: Michael Stahl <Michael.Stahl at cib.de>
AuthorDate: Fri Sep 18 17:12:38 2020 +0200
Commit: Michael Stahl <michael.stahl at cib.de>
CommitDate: Mon Sep 21 10:47:00 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.stahl at cib.de>
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
More information about the Libreoffice-commits
mailing list