svx/source/svdraw/svdview.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
New commits: commit 6f35a3a7c0549fc5803522a3fdd02da97276fadc Author: merttumer <[email protected]> AuthorDate: Wed Apr 21 12:05:07 2021 +0300 Commit: Mert Tumer <[email protected]> CommitDate: Mon May 3 06:52:31 2021 +0200 lok: Edit the click selected cell on table selection for LOK case, it should start editing when table is selected from the cell that is under the cursor instead of selecting the table object. Change-Id: Ibb3fa41377b76edcdcc2be7419838a151ff765fe Signed-off-by: merttumer <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114386 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114646 Tested-by: Jenkins diff --git a/svx/source/svdraw/svdview.cxx b/svx/source/svdraw/svdview.cxx index f819deba699f..dbb4c405bb10 100644 --- a/svx/source/svdraw/svdview.cxx +++ b/svx/source/svdraw/svdview.cxx @@ -48,6 +48,8 @@ #include <sal/log.hxx> #include <vcl/ptrstyle.hxx> #include <vcl/window.hxx> +#include <comphelper/lok.hxx> + SdrViewEvent::SdrViewEvent() : pHdl(nullptr), @@ -374,7 +376,9 @@ SdrHitKind SdrView::PickAnything(const Point& rLogicPos, SdrViewEvent& rVEvt) co // for e.g. URL links when hoovering and clicking // them will not work. Tried several other changes, // but this one safely keeps existing behaviour as-is. - eHit = SdrHitKind::UnmarkedObject; + // Except for the LOK. LOK doesn't have hoovering popup + // feature. + eHit = comphelper::LibreOfficeKit::isActive() ? SdrHitKind::TextEditObj : SdrHitKind::UnmarkedObject; break; default: break; _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
