diff options
author | Jim Raykowski <raykowj@gmail.com> | 2021-03-09 12:06:20 -0900 |
---|---|---|
committer | Jim Raykowski <raykowj@gmail.com> | 2021-03-18 01:50:50 +0100 |
commit | 005adbefc746f9024adcf572c287dc061acbcf00 (patch) | |
tree | afab4113a24bdcadc03538df3f69a12b4fcb453d /sw | |
parent | 7053ec94b47432aad6c5d1d82dd85e41bc08d2ac (diff) |
Sw Navigator: fix table selection
Fixes table selection from the Navigator not selecting the whole table.
Change-Id: If6a9161d011a056aad02c3bd99c19e62802288c7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112254
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/utlui/content.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx index d70494d64cc7..fe9da9cfc0e1 100644 --- a/sw/source/uibase/utlui/content.cxx +++ b/sw/source/uibase/utlui/content.cxx @@ -3953,7 +3953,7 @@ void SwContentTree::ExecuteContextMenuAction(const OString& rSelectedPopupEntry) case 804: ExecCommand("demote", true); break; - case 805: + case 805: // select document content { m_pActiveShell->KillPams(); m_pActiveShell->ClearMark(); @@ -3973,7 +3973,7 @@ void SwContentTree::ExecuteContextMenuAction(const OString& rSelectedPopupEntry) else if (eTypeId == ContentTypeId::TABLE) { m_pActiveShell->GotoTable(pCnt->GetName()); - m_pActiveShell->SelAll(); + m_pActiveShell->GetView().GetViewFrame()->GetDispatcher()->Execute(FN_TABLE_SELECT_ALL); } else if (eTypeId == ContentTypeId::REGION) { |