sw/source/uibase/utlui/content.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8f2c10f051c4d3e587b859210e9430ada7876a7a
Author:     Jim Raykowski <rayk...@gmail.com>
AuthorDate: Tue Nov 28 10:49:31 2023 -0900
Commit:     Jim Raykowski <rayk...@gmail.com>
CommitDate: Wed Nov 29 07:03:54 2023 +0100

    SwNavigator: Allow Sections, Indexes, and Headings tracking
    
    when in a table and Table tracking is off
    
    Change-Id: I0f5d069b80948aada9fee1338c29fc7809ffbe45
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160056
    Tested-by: Jenkins
    Reviewed-by: Jim Raykowski <rayk...@gmail.com>

diff --git a/sw/source/uibase/utlui/content.cxx 
b/sw/source/uibase/utlui/content.cxx
index ff354273ff82..352a6daa9bba 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -4226,8 +4226,8 @@ void SwContentTree::UpdateTracking()
                 OUString aName = m_pActiveShell->GetTableFormat()->GetName();
                 lcl_SelectByContentTypeAndName(this, *m_xTreeView, 
SwResId(STR_CONTENT_TYPE_TABLE),
                                                aName);
+                return;
             }
-            return;
         }
         // indexes
         if (const SwTOXBase* pTOX = m_pActiveShell->GetCurTOX(); pTOX &&

Reply via email to