diff options
Diffstat (limited to 'src/gui/PatchWindow.cpp')
-rw-r--r-- | src/gui/PatchWindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/PatchWindow.cpp b/src/gui/PatchWindow.cpp index c2e9872d..fe3c498a 100644 --- a/src/gui/PatchWindow.cpp +++ b/src/gui/PatchWindow.cpp @@ -294,7 +294,8 @@ PatchWindow::object_entered(ObjectModel* model) NodeModel* node = dynamic_cast<NodeModel*>(model); if (node) { PluginModel* plugin = (PluginModel*)node->plugin(); - msg.append(" \"").append(plugin->human_name()).append("\""); + if (plugin) + msg.append(" \"").append(plugin->human_name()).append("\""); } PortModel* port = dynamic_cast<PortModel*>(model); |