SampleTrack: set/update tooltip for samples when loading project
The tooltip for sample track object views was not restored properly when loading projects. Thanks to Mikobuntu for pointing out this issue.
This commit is contained in:
@@ -197,6 +197,10 @@ sampleTCOView::sampleTCOView( sampleTCO * _tco, trackView * _tv ) :
|
||||
trackContentObjectView( _tco, _tv ),
|
||||
m_tco( _tco )
|
||||
{
|
||||
// update UI and tooltip
|
||||
updateSample();
|
||||
|
||||
// track future changes of sampleTCO
|
||||
connect( m_tco, SIGNAL( sampleChanged() ),
|
||||
this, SLOT( updateSample() ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user