fixed active item detection when rendering drag pixmap.

icc-effect-5.14.5
Hugo Pereira Da Costa 2012-04-23 11:26:42 +02:00
parent be7573445a
commit 06820d7c77
1 changed files with 1 additions and 1 deletions

View File

@ -1897,7 +1897,7 @@ namespace Oxygen
renderWindowBackground( &painter, geometry, widget(), widget()->palette() );
// darken background if item is inactive
const bool itemActive = !( itemValid && tabId(index) != currentTabId() );
const bool itemActive = (tabCount() <= 1) || !( itemValid && tabId(index) != currentTabId() );
if( !itemActive )
{