[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sfx2/source

Zolnai Tamás tamas.zolnai at collabora.com
Fri Jan 10 09:52:53 PST 2014


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

New commits:
commit 6b0a9123ea2c7d616555c1d4808813a9f4478d48
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
    (cherry picked from commit 264fc270a73de32a7a4d86442c06d14acdd14ef2)
    Reviewed-on: https://gerrit.libreoffice.org/7374
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>

diff --git a/sfx2/source/control/recentdocsview.cxx b/sfx2/source/control/recentdocsview.cxx
index b083736..78733fe 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());


More information about the Libreoffice-commits mailing list