diff options
Diffstat (limited to 'src/progs/gtk/NodePropertiesWindow.cpp')
-rw-r--r-- | src/progs/gtk/NodePropertiesWindow.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/progs/gtk/NodePropertiesWindow.cpp b/src/progs/gtk/NodePropertiesWindow.cpp index b0028864..abf5625c 100644 --- a/src/progs/gtk/NodePropertiesWindow.cpp +++ b/src/progs/gtk/NodePropertiesWindow.cpp @@ -53,9 +53,11 @@ NodePropertiesWindow::set_node(CountedPtr<NodeModel> node_model) CountedPtr<PluginModel> pm = node_model->plugin(); - m_plugin_type_label->set_text(pm->type_string()); - m_plugin_uri_label->set_text(pm->uri()); - m_plugin_name_label->set_text(pm->name()); + if (pm) { + m_plugin_type_label->set_text(pm->type_string()); + m_plugin_uri_label->set_text(pm->uri()); + m_plugin_name_label->set_text(pm->name()); + } } |