InstrumentTrackWindow: clear focus on closeEvent
When closing an InstrumentTrackWindow make sure it doesn't still have keyboard focus (looks like a bug in Qt) and set focus on trackLabelButton instead (closes #2780590).
This commit is contained in:
@@ -1430,6 +1430,7 @@ void instrumentTrackWindow::closeEvent( QCloseEvent * _ce )
|
||||
{
|
||||
hide();
|
||||
}
|
||||
m_itv->m_tlb->setFocus();
|
||||
m_itv->m_tlb->setChecked( false );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user