diff options
author | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2016-03-25 13:26:54 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-04-25 15:08:16 -0400 |
commit | b8d4239f1d353a356bb56f0b422f1389533f6956 (patch) | |
tree | 6700f7e6024b7eea291186f925e2daca967504bc | |
parent | 56c68bc8f97c3f184a4e463eb0e693bf21848856 (diff) | |
download | jalv-b8d4239f1d353a356bb56f0b422f1389533f6956.tar.gz jalv-b8d4239f1d353a356bb56f0b422f1389533f6956.tar.bz2 jalv-b8d4239f1d353a356bb56f0b422f1389533f6956.zip |
Properly set jalv->has_ui for ui:showInterface
-rw-r--r-- | src/jalv_console.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jalv_console.c b/src/jalv_console.c index fdb3bde..cd76999 100644 --- a/src/jalv_console.c +++ b/src/jalv_console.c @@ -157,7 +157,8 @@ jalv_process_command(Jalv* jalv, const char* cmd) int jalv_open_ui(Jalv* jalv) { - jalv->has_ui = true; + jalv->has_ui = jalv->opts.show_ui; + const LV2UI_Idle_Interface* idle_iface = NULL; const LV2UI_Show_Interface* show_iface = NULL; if (jalv->ui && jalv->opts.show_ui) { |