diff options
Diffstat (limited to 'sfx2/source/control/templateviewitem.cxx')
-rw-r--r-- | sfx2/source/control/templateviewitem.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sfx2/source/control/templateviewitem.cxx b/sfx2/source/control/templateviewitem.cxx index 3158a4cdea28..28dc70254562 100644 --- a/sfx2/source/control/templateviewitem.cxx +++ b/sfx2/source/control/templateviewitem.cxx @@ -63,7 +63,9 @@ void TemplateViewItem::Paint(drawinglayer::processor2d::BaseProcessor2D *pProces double fTransparence = 0.0; // Draw background - if ( mbSelected || mbHover ) + if( mbSelected && mbHover) + aFillColor = pAttrs->aSelectHighlightColor; + else if (mbSelected || mbHover) aFillColor = pAttrs->aHighlightColor; if (mbHover) |