summaryrefslogtreecommitdiff
path: root/sfx2/source/control
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-01-09 02:09:25 +0100
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-01-09 10:59:33 +0100
commit6e915167e07d5d0870f0f26806e82644e6195371 (patch)
treeed012061986f050f8de5299e009f852a0c1fbb18 /sfx2/source/control
parent0b41ebf3af0faeb3d8dca05477e2a4766a0387d5 (diff)
Startcenter: double click opens file only once
Change-Id: I0d99a905cc8c94d39bfe802b2c597275c81f0b4f
Diffstat (limited to 'sfx2/source/control')
-rw-r--r--sfx2/source/control/recentdocsview.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sfx2/source/control/recentdocsview.cxx b/sfx2/source/control/recentdocsview.cxx
index fb251729ac6a..9db0f6683999 100644
--- a/sfx2/source/control/recentdocsview.cxx
+++ b/sfx2/source/control/recentdocsview.cxx
@@ -181,6 +181,9 @@ void RecentDocsView::MouseButtonDown( const MouseEvent& rMEvt )
{
if ( rMEvt.IsLeft() )
{
+ if( rMEvt.GetClicks() == 2 )
+ return;
+
size_t nPos = ImplGetItem(rMEvt.GetPosPixel());
ThumbnailViewItem* pItem = ImplGetItem(nPos);