[Libreoffice-commits] .: sfx2/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Jan 8 07:10:14 PST 2013


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

New commits:
commit 59555e5b38d62b92397d7f3eac5097211ed261c4
Author: Cédric Bosdonnat <cedric.bosdonnat at free.fr>
Date:   Tue Jan 8 16:05:48 2013 +0100

    Template Manager: unselect folder when double-clicking
    
    Change-Id: I11ad88b3a69d3e2a00e859ee33cbc22c5d525618

diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx
index b9b0e89..618d7f2 100644
--- a/sfx2/source/control/thumbnailview.cxx
+++ b/sfx2/source/control/thumbnailview.cxx
@@ -513,7 +513,7 @@ void ThumbnailView::MouseButtonDown( const MouseEvent& rMEvt )
             else if ( rMEvt.GetClicks() == 2 )
             {
                 // The mouse button down event 1 click right before is pointless
-                pItem->setSelection(!pItem->isSelected());
+                pItem->setSelection(false);
                 maItemStateHdl.Call(pItem);
 
                 Rectangle aRect(pItem->getDrawArea());


More information about the Libreoffice-commits mailing list