diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-05-13 22:51:05 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-05-13 22:51:05 +0200 |
commit | 98920ea806e9914bb4085cb80748eed0c5ffc8fa (patch) | |
tree | 1e13e95a6b5bae956fa6699197132f85b40a3046 | |
parent | 24032cfb4a4c1a37c722afb8ec1aa7c83ad5488f (diff) |
Fix crash bug on GUI close in QTractor.
-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) |