sw/source/uibase/utlui/content.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 005adbefc746f9024adcf572c287dc061acbcf00 Author: Jim Raykowski <rayk...@gmail.com> AuthorDate: Tue Mar 9 12:06:20 2021 -0900 Commit: Jim Raykowski <rayk...@gmail.com> CommitDate: Thu Mar 18 01:50:50 2021 +0100 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 <rayk...@gmail.com> 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) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits