summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2023-10-12 09:01:27 -0800
committerJim Raykowski <raykowj@gmail.com>2023-10-14 20:38:44 +0200
commit18f35dffae44e741ea492ed5304f2d2d9d000f2d (patch)
treef04fa192291423adc657c1223902bd9434d056bc /sw
parent2c213582376216eacb613e576314e0b9cba0aa04 (diff)
tdf#152029 related: Remove attention overlay on document view change
Fixes stale overlay that can happen when Navigator use causes a document view change. For example, when the Navigator is used to change a heading level or to delete a heading by key input. Change-Id: If4c0aa2e31f088a8fa12d7ed02012033c4d13509 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157892 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/utlui/content.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx
index 9d96415c5c35..64e2c4aad25b 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -3272,6 +3272,7 @@ void SwContentTree::Notify(SfxBroadcaster & rBC, SfxHint const& rHint)
break;
}
case SfxHintId::DocChanged:
+ OverlayObject();
if (!m_bIgnoreDocChange)
{
m_bDocHasChanged = true;