TrackContainerView: when dragging a preset file into TrackContainerView
load complete track settings rather than just track specific settings -
fixes an issue where the track name was not loaded from the dragged preset
(cherry picked from commit 5976ab5ce2)
This commit is contained in:
1 parent
a6fbb8bb2d
commit
0f40a68e75
1 file changed
+1
-2
@@ -405,8 +405,7 @@ void trackContainerView::dropEvent( QDropEvent * _de )
|
||||
instrumentTrack * it = dynamic_cast<instrumentTrack *>(
|
||||
track::create( track::InstrumentTrack,
|
||||
m_tc ) );
|
||||
it->loadTrackSpecificSettings( mmp.content().firstChild().
|
||||
toElement() );
|
||||
it->loadSettings( mmp.content().toElement() );
|
||||
//it->toggledInstrumentTrackButton( true );
|
||||
_de->accept();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user