Skip to content

Commit

Permalink
Fix regression introduced in #5170 (#5224)
Browse files Browse the repository at this point in the history
  • Loading branch information
Veratil authored and zonkmachine committed Oct 7, 2019
1 parent 45cb7f2 commit e1d3117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/editors/AutomationEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1484,7 +1484,7 @@ void AutomationEditor::paintEvent(QPaintEvent * pe )
m_leftRightScroll->setPageStep( l );
}

if( validPattern() && GuiApplication::instance()->automationEditor()->hasFocus() )
if(validPattern() && GuiApplication::instance()->automationEditor()->m_editor->hasFocus())
{

drawCross( p );
Expand Down

0 comments on commit e1d3117

Please sign in to comment.