Kaydet (Commit) f10a3305 authored tarafından Cédric Bosdonnat's avatar Cédric Bosdonnat

Template Manager: clicking on selected item should deselect it

Change-Id: Id13ce13ec222fc10cbfcad7fec5e7eeb5957312c
üst a6f978e1
...@@ -503,7 +503,7 @@ void ThumbnailView::MouseButtonDown( const MouseEvent& rMEvt ) ...@@ -503,7 +503,7 @@ void ThumbnailView::MouseButtonDown( const MouseEvent& rMEvt )
{ {
if (!pItem->isSelected() && !rMEvt.IsMod1()) if (!pItem->isSelected() && !rMEvt.IsMod1())
deselectItems( ); deselectItems( );
pItem->setSelection(!pItem->isSelected()); pItem->setSelection(true);
if (!pItem->isHighlighted()) if (!pItem->isHighlighted())
DrawItem(pItem); DrawItem(pItem);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment