[Libreoffice-commits] core.git: sfx2/source

Zolnai Tamás tamas.zolnai at collabora.com
Fri Jan 10 06:56:12 PST 2014


 sfx2/source/control/recentdocsview.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1ae9feedf13f20a6c10e7bf2261d1f9257e60f87
Author: Zolnai Tamás <tamas.zolnai at collabora.com>
Date:   Fri Jan 10 15:49:00 2014 +0100

    Startcenter: ignore repeated clicks inside recent docs view
    
    Change-Id: Ia433adb26e820b89c4d207d018d0daf42654b4a0

diff --git a/sfx2/source/control/recentdocsview.cxx b/sfx2/source/control/recentdocsview.cxx
index ea77013..e1b1c0c 100644
--- a/sfx2/source/control/recentdocsview.cxx
+++ b/sfx2/source/control/recentdocsview.cxx
@@ -183,7 +183,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());


More information about the Libreoffice-commits mailing list