do not paint buttons (from parent) if hidden.
This commit is contained in:
parent
c9ed76be6f
commit
f435f716b8
1 changed files with 1 additions and 1 deletions
|
@ -1414,7 +1414,7 @@ namespace Oxygen
|
|||
QList<Button*> buttons( widget()->findChildren<Button*>() );
|
||||
foreach( Button* button, buttons )
|
||||
{
|
||||
if( event->rect().intersects( button->geometry() ) )
|
||||
if( button->isVisible() && event->rect().intersects( button->geometry() ) )
|
||||
{
|
||||
painter.save();
|
||||
painter.setViewport( button->geometry() );
|
||||
|
|
Loading…
Reference in a new issue