diff --git a/src/core/engine.cpp b/src/core/engine.cpp index 8cbd31a8e..30bdef596 100644 --- a/src/core/engine.cpp +++ b/src/core/engine.cpp @@ -121,6 +121,8 @@ void engine::init( const bool _has_gui ) s_midiControlListener = new MidiControlListener(); + s_automationRecorder = new AutomationRecorder; + if( s_hasGUI ) { s_mainWindow = new mainWindow; @@ -131,7 +133,6 @@ void engine::init( const bool _has_gui ) s_bbEditor = new bbEditor( s_bbTrackContainer ); s_pianoRoll = new pianoRoll; s_automationEditor = new automationEditor; - s_automationRecorder = new AutomationRecorder; s_mainWindow->finalize(); }