From 279abd670317760dd1d58c549a0589c3a31c1e4d Mon Sep 17 00:00:00 2001 From: Jim Raykowski Date: Mon, 7 Mar 2022 17:59:37 -0900 Subject: Fix annotation window from being created by Navigate By Comment when a text selection is present. Change-Id: Icef331334a8ad7a499477860c6d883f26e909577 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131158 Tested-by: Jenkins Reviewed-by: Jim Raykowski --- sw/source/uibase/uiview/viewmdi.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/sw/source/uibase/uiview/viewmdi.cxx b/sw/source/uibase/uiview/viewmdi.cxx index 9acb7f8f7bd0..72986fe7d8d6 100644 --- a/sw/source/uibase/uiview/viewmdi.cxx +++ b/sw/source/uibase/uiview/viewmdi.cxx @@ -530,6 +530,7 @@ IMPL_LINK( SwView, MoveNavigationHdl, void*, p, void ) { if (m_pPostItMgr->HasNotes()) { + rSh.EnterStdMode(); m_pPostItMgr->AssureStdModeAtShell(); m_pPostItMgr->SetActiveSidebarWin(nullptr); GetEditWin().GrabFocus(); -- cgit