vcl/source/app/salvtables.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d7b83635354b67853780faa81476d068e96dc51f Author: Mert Tumer <[email protected]> AuthorDate: Wed Dec 16 21:02:42 2020 +0300 Commit: Mert Tumer <[email protected]> CommitDate: Tue Jan 12 09:38:46 2021 +0100 Fix MouseClick shoud be MouseLeft for drawing area Change-Id: I4dd0c6862c6473d3cbfcc4535c2d2ebe4a0a238a Signed-off-by: Mert Tumer <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108683 Tested-by: Jenkins CollaboraOffice <[email protected]> diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index ee0e074bad2e..ed8f9d57e0cd 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -5499,7 +5499,7 @@ OutputDevice& SalInstanceDrawingArea::get_ref_device() void SalInstanceDrawingArea::click(const Point& rPos) { - MouseEvent aEvent(rPos); + MouseEvent aEvent(rPos, 1, MouseEventModifiers::NONE, MOUSE_LEFT, 0); m_xDrawingArea->MouseButtonDown(aEvent); m_xDrawingArea->MouseButtonUp(aEvent); } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
