diff options
author | David Robillard <d@drobilla.net> | 2008-08-14 02:46:27 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-08-14 02:46:27 +0000 |
commit | 665da1cd4b65de0459fcda0e6e75552a4751c5b6 (patch) | |
tree | 35d04ec066e33900cf617a51a83cd045142e88b9 | |
parent | 819eb884826cd9696f34309f8253be2a8819b942 (diff) | |
download | ingen-665da1cd4b65de0459fcda0e6e75552a4751c5b6.tar.gz ingen-665da1cd4b65de0459fcda0e6e75552a4751c5b6.tar.bz2 ingen-665da1cd4b65de0459fcda0e6e75552a4751c5b6.zip |
Fix crash when attempting to pop up the GUI of a node with no plugin.
git-svn-id: http://svn.drobilla.net/lad/ingen@1363 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/libs/gui/NodeModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/gui/NodeModule.cpp b/src/libs/gui/NodeModule.cpp index 4b1297c8..9539c226 100644 --- a/src/libs/gui/NodeModule.cpp +++ b/src/libs/gui/NodeModule.cpp @@ -210,7 +210,7 @@ bool NodeModule::popup_gui() { #ifdef HAVE_SLV2 - if (_node->plugin()->type() == PluginModel::LV2) { + if (_node->plugin() && _node->plugin()->type() == PluginModel::LV2) { if (_plugin_ui) { cerr << "LV2 GUI already embedded, cannot pop up" << endl; return false; |