Fixed bug where cross hairs were incrorrectly draw in Automation Editor
The cross hairs in the automation editor were incorrectly drawn when moving another window infront. This change only draws the cross hairs when the window has focus.
This commit is contained in:
@@ -1314,8 +1314,9 @@ void AutomationEditor::paintEvent(QPaintEvent * pe )
|
||||
m_leftRightScroll->setPageStep( l );
|
||||
}
|
||||
|
||||
if( validPattern() )
|
||||
if( validPattern() && GuiApplication::instance()->automationEditor()->hasFocus() )
|
||||
{
|
||||
|
||||
drawCross( p );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user