Merge pull request #1846 from curlymorphic/i1052
Fixed bug where cross hairs were incorrectly draw in Automation Editor
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