summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libs/gui/NodeModule.cpp2
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;