diff options
author | Mert Tumer <mert.tumer@collabora.com> | 2020-12-16 21:02:42 +0300 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2021-04-08 15:15:46 +0200 |
commit | 470110a48ce3c975945bd2d3bae2578a65adb6e9 (patch) | |
tree | b993b28c13975919c0f111bac37719db14e76ab5 /vcl | |
parent | 7c5d07139549caf1f16755e4577c124c85093e42 (diff) |
Fix MouseClick shoud be MouseLeft for drawing area
Change-Id: I4dd0c6862c6473d3cbfcc4535c2d2ebe4a0a238a
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108683
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109215
Tested-by: Jenkins
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/app/salvtables.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index f80d51e605ef..4b7ccce0153c 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -5872,7 +5872,7 @@ OutputDevice& SalInstanceDrawingArea::get_ref_device() { return *m_xDrawingArea; 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); } |