mirror of
https://github.com/LMMS/lmms.git
synced 2026-01-29 16:53:07 -05:00
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:
@@ -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