diff options
author | Robin Gareus <robin@gareus.org> | 2016-02-23 15:42:13 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-02-23 15:42:13 +0100 |
commit | 6b940afa36104e9d9d6c46828abb1182100689e3 (patch) | |
tree | c2f0143565e1ca65170fe67065971d5c015f470b /gtk2_ardour/ardour_ui_dependents.cc | |
parent | 28017b4751cb5b4a8806f74b269730e8d2e37e8c (diff) |
Lua Script Console Window
Diffstat (limited to 'gtk2_ardour/ardour_ui_dependents.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_dependents.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui_dependents.cc b/gtk2_ardour/ardour_ui_dependents.cc index 939c7d0eeb..b67b3a83bb 100644 --- a/gtk2_ardour/ardour_ui_dependents.cc +++ b/gtk2_ardour/ardour_ui_dependents.cc @@ -37,6 +37,7 @@ #include "ardour_ui.h" #include "public_editor.h" #include "meterbridge.h" +#include "luawindow.h" #include "mixer_ui.h" #include "keyboard.h" #include "splash.h" @@ -119,6 +120,7 @@ ARDOUR_UI::connect_dependents_to_session (ARDOUR::Session *s) BootMessage (_("Setup Mixer")); mixer->set_session (s); meterbridge->set_session (s); + luawindow->set_session (s); /* its safe to do this now */ @@ -257,6 +259,11 @@ ARDOUR_UI::setup_windows () return -1; } + if (create_luawindow ()) { + error << _("UI: cannot setup luawindow") << endmsg; + return -1; + } + /* order of addition affects order seen in initial window display */ rc_option_editor->add_to_notebook (_tabs, _("Preferences")); |