mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +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
|
|
@ -45,6 +45,7 @@
|
|||
#include "widgets/prompter.h"
|
||||
|
||||
#include "ardour/audio_track.h"
|
||||
#include "ardour/audioengine.h"
|
||||
#include "ardour/audioregion.h"
|
||||
#include "ardour/boost_debug.h"
|
||||
#include "ardour/dB.h"
|
||||
|
|
@ -7420,6 +7421,12 @@ Editor::_remove_tracks ()
|
|||
return;
|
||||
}
|
||||
|
||||
if (!AudioEngine::instance()->running ()) {
|
||||
MessageDialog msg (_("Not connected to audio engine - Removing Tracks/Busses is not possible"));
|
||||
msg.run ();
|
||||
return;
|
||||
}
|
||||
|
||||
vector<string> choices;
|
||||
string prompt;
|
||||
int ntracks = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue