mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
GUI limitation: Require engine to add/remove tracks/busses
This commit is contained in:
parent
5531a440c9
commit
57d7b5de65
4 changed files with 32 additions and 0 deletions
|
|
@ -1428,6 +1428,11 @@ RegionMoveDrag::finished (GdkEvent* ev, bool movement_occurred)
|
|||
RouteTimeAxisView*
|
||||
RegionMoveDrag::create_destination_time_axis (boost::shared_ptr<Region> region, TimeAxisView* original)
|
||||
{
|
||||
if (!AudioEngine::instance()->running ()) {
|
||||
error << _("Not connected to audio engine - Could not create new track after region placed in the drop zone") << endmsg;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* Add a new track of the correct type, and return the RouteTimeAxisView that is created to display the
|
||||
new track.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue