mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Fix DnD import to grouped tracks
Import via Drag/Drop previously worked by selecting a track, and then importing to the selected track. This approach fails when the selected track is in a track-group, and selecting the track also selects other tracks of different type. Now the track to drop onto is passed directly passed through to ::finish_bringing_in_material as existing_track.
This commit is contained in:
parent
20088062bb
commit
07dea50456
7 changed files with 31 additions and 26 deletions
|
|
@ -282,9 +282,11 @@ public:
|
|||
virtual void do_import (std::vector<std::string> paths, Editing::ImportDisposition, Editing::ImportMode mode, ARDOUR::SrcQuality,
|
||||
ARDOUR::MidiTrackNameSource, ARDOUR::MidiTempoMapDisposition, Temporal::timepos_t&,
|
||||
boost::shared_ptr<ARDOUR::PluginInfo> instrument = boost::shared_ptr<ARDOUR::PluginInfo>(),
|
||||
boost::shared_ptr<ARDOUR::Track> track = boost::shared_ptr<ARDOUR::Track>(),
|
||||
bool with_markers = false) = 0;
|
||||
virtual void do_embed (std::vector<std::string> paths, Editing::ImportDisposition, Editing::ImportMode mode, Temporal::timepos_t&,
|
||||
boost::shared_ptr<ARDOUR::PluginInfo> instrument = boost::shared_ptr<ARDOUR::PluginInfo>()) = 0;
|
||||
boost::shared_ptr<ARDOUR::PluginInfo> instrument = boost::shared_ptr<ARDOUR::PluginInfo>(),
|
||||
boost::shared_ptr<ARDOUR::Track> track = boost::shared_ptr<ARDOUR::Track>()) = 0;
|
||||
|
||||
/** Open main export dialog */
|
||||
virtual void export_audio () = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue