| commit | fefcad1186232b26180d095bbafdf8e8bdda8209 | [log] |
|---|---|---|
| author | Michael Stahl <Michael.Stahl@cib.de> | Fri Sep 18 17:12:38 2020 +0200 |
| committer | Michael Stahl <michael.stahl@cib.de> | Mon Sep 21 10:47:00 2020 +0200 |
| 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>
diff --git a/sw/source/ui/misc/bookmark.cxx b/sw/source/ui/misc/bookmark.cxx index b69cce7..33cdbee 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