From b8d4239f1d353a356bb56f0b422f1389533f6956 Mon Sep 17 00:00:00 2001 From: Hanspeter Portner Date: Fri, 25 Mar 2016 13:26:54 +0100 Subject: Properly set jalv->has_ui for ui:showInterface --- src/jalv_console.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.1