summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat@free.fr>2013-01-08 16:45:20 +0100
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2013-01-08 16:45:58 +0100
commitf10a3305473c83893a2c3062ce9fb8c9146fd1dc (patch)
tree4da82e168161d6e916bbe465488ab1dfcc545ed9 /sfx2
parenta6f978e1c3a27c7045ec3be129d8d6883f021015 (diff)
Template Manager: clicking on selected item should deselect it
Change-Id: Id13ce13ec222fc10cbfcad7fec5e7eeb5957312c
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/thumbnailview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx
index 61cb3f216760..0e47fb744ac9 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);