summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2020-11-27 22:26:57 -0900
committerJim Raykowski <raykowj@gmail.com>2020-11-29 01:33:06 +0100
commit9dc95c013fae033d7f43e15deb4bb85a52c25396 (patch)
treee45f2a3a827fac7d1e435605f6737cc1f199cb58 /sw
parent5abb1890ffafe5a2212076208a1c6e226f1ffa4e (diff)
Writer Navigator: track form controls
Track in Navigator Drawing Objects selected form control in document when in design mode. Change-Id: I814664be597fe0fbff30fba7f58994af19e38bbe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106800 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/utlui/content.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx
index df5e5270fc63..9dd4e661370c 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -3183,7 +3183,8 @@ void SwContentTree::UpdateTracking()
// drawing
if ((m_pActiveShell->GetSelectionType() & (SelectionType::DrawObject |
- SelectionType::DrawObjectEditMode)) &&
+ SelectionType::DrawObjectEditMode |
+ SelectionType::DbForm)) &&
!(m_bIsRoot && m_nRootType != ContentTypeId::DRAWOBJECT))
{
SdrView* pSdrView = m_pActiveShell->GetDrawView();