summaryrefslogtreecommitdiff
path: root/include/sfx2/recentdocsviewitem.hxx
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2014-05-05 22:00:09 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2014-05-05 22:22:39 +0300
commit1a2a961c1e7cdef648c28e211433e8de6e8a831b (patch)
tree02d443df58c21354baaf1657f329f480273023c4 /include/sfx2/recentdocsviewitem.hxx
parent25195658ab405cfc288950e15529e97ceb72575d (diff)
startcenter: react on mouse down instead
There is a good reason for that: File lists of some file pickers handle double click event on mouse down. So if a start center thumbnail is exactly behind the file on which the user double- clicked, it will receive the mouse up event, and will also open. Change-Id: I9fc9ceff0874d0486d5b568c9b35143c8d8aabf8
Diffstat (limited to 'include/sfx2/recentdocsviewitem.hxx')
-rw-r--r--include/sfx2/recentdocsviewitem.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/recentdocsviewitem.hxx b/include/sfx2/recentdocsviewitem.hxx
index b1a51fefaa6b..71b647488010 100644
--- a/include/sfx2/recentdocsviewitem.hxx
+++ b/include/sfx2/recentdocsviewitem.hxx
@@ -33,7 +33,7 @@ public:
virtual void Paint(drawinglayer::processor2d::BaseProcessor2D *pProcessor,
const ThumbnailItemAttributes *pAttrs) SAL_OVERRIDE;
- virtual void MouseButtonUp(const MouseEvent& rMEvt) SAL_OVERRIDE;
+ virtual void MouseButtonDown(const MouseEvent& rMEvt) SAL_OVERRIDE;
/// Called when the user clicks a document - it will open it.
void OpenDocument();