summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-01-10 15:49:00 +0100
committerEike Rathke <erack@redhat.com>2014-01-10 17:52:31 +0000
commit6b0a9123ea2c7d616555c1d4808813a9f4478d48 (patch)
tree51fe8ad9cbc97734f55674f49ab752398cfb603d /sfx2
parentb72f3f40828cf6761a8a3cee0dfe2f8a9d4e4a21 (diff)
Startcenter: ignore repeated clicks inside recent docs view
Change-Id: Ia433adb26e820b89c4d207d018d0daf42654b4a0 (cherry picked from commit 264fc270a73de32a7a4d86442c06d14acdd14ef2) Reviewed-on: https://gerrit.libreoffice.org/7374 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/recentdocsview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/recentdocsview.cxx b/sfx2/source/control/recentdocsview.cxx
index b083736c32e3..78733feafcd9 100644
--- a/sfx2/source/control/recentdocsview.cxx
+++ b/sfx2/source/control/recentdocsview.cxx
@@ -182,7 +182,7 @@ void RecentDocsView::MouseButtonDown( const MouseEvent& rMEvt )
{
if ( rMEvt.IsLeft() )
{
- if( rMEvt.GetClicks() == 2 )
+ if( rMEvt.GetClicks() > 1 )
return;
size_t nPos = ImplGetItem(rMEvt.GetPosPixel());