fixed active item detection when rendering drag pixmap.
This commit is contained in:
parent
be7573445a
commit
06820d7c77
1 changed files with 1 additions and 1 deletions
|
@ -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 )
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in a new issue