[Libreoffice-commits] core.git: sw/source
Jim Raykowski (via logerrit)
logerrit at kemper.freedesktop.org
Sun Feb 23 06:54:09 UTC 2020
sw/source/uibase/utlui/content.cxx | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
New commits:
commit dcafbe29105c13fe940b24ba69e669b680c44962
Author: Jim Raykowski <raykowj at gmail..com>
AuthorDate: Thu Feb 20 14:20:50 2020 -0900
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sun Feb 23 07:53:37 2020 +0100
Make headings navigation view update after delete chapter undo
This is a partial revert of commit
360b9d52e9d0e7e70ad8432802886073bbd6ee3d I did to make multiselected
outline moves keep selections in headings navigation view after move. It
seems this part of the patch is not required and causes undo of chapter
delete not to be reflected in the headings navigation view if it has
focus when undo is done.
Change-Id: I40dbe4aba83222e7d0c373e043bfb0e3099e7a61
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89288
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx
index 660cf16be92b..a41c3f951028 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -2436,10 +2436,7 @@ void SwContentTree::Notify(SfxBroadcaster & rBC, SfxHint const& rHint)
switch (rHint.GetId())
{
case SfxHintId::DocChanged:
- if (!(m_bIsRoot && m_nRootType == ContentTypeId::OUTLINE && HasFocus()))
- {
- m_bViewHasChanged = true;
- }
+ m_bViewHasChanged = true;
break;
case SfxHintId::ModeChanged:
if (SwWrtShell* pShell = GetWrtShell())
More information about the Libreoffice-commits
mailing list