[Libreoffice-commits] .: Branch 'libreoffice-4-0' - sfx2/source

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


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

New commits:
commit 44f49ff0db0e22c21f020f9fbd7c95526bc0b55f
Author: Cédric Bosdonnat <cedric.bosdonnat at free.fr>
Date:   Tue Jan 8 16:45:20 2013 +0100

    Template Manager: clicking on selected item should deselect it
    
    Change-Id: Id13ce13ec222fc10cbfcad7fec5e7eeb5957312c

diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx
index 2ec5e74..c3957f0 100644
--- a/sfx2/source/control/thumbnailview.cxx
+++ b/sfx2/source/control/thumbnailview.cxx
@@ -503,7 +503,7 @@ void ThumbnailView::MouseButtonDown( const MouseEvent& rMEvt )
             {
                 if (!pItem->isSelected() && !rMEvt.IsMod1())
                     deselectItems( );
-                pItem->setSelection(!pItem->isSelected());
+                pItem->setSelection(true);
 
                 if (!pItem->isHighlighted())
                     DrawItem(pItem);


More information about the Libreoffice-commits mailing list