diff options
Diffstat (limited to 'lv2')
-rw-r--r-- | lv2/lv2_gui.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lv2/lv2_gui.cc b/lv2/lv2_gui.cc index ecdb7d0..7d9cfbf 100644 --- a/lv2/lv2_gui.cc +++ b/lv2/lv2_gui.cc @@ -133,7 +133,7 @@ static void ui_show(struct lv2_external_ui * _this_) static void ui_hide(struct lv2_external_ui * _this_) { struct DG_GUI *dggui = (struct DG_GUI *)_this_; - dggui->gui->hide(); + if(dggui->gui) dggui->gui->hide(); } static void closeHandler(void *ptr) |