aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/jalv_console.c3
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) {