[Libreoffice-commits] .: sfx2/source

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


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

New commits:
commit f10a3305473c83893a2c3062ce9fb8c9146fd1dc
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 61cb3f2..0e47fb7 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