diff options
author | David Robillard <d@drobilla.net> | 2006-06-15 08:22:48 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-06-15 08:22:48 +0000 |
commit | 55c6e4c46d388189e35329a6519b9afa86f029fa (patch) | |
tree | a65e43a34a7dce7aa2c599ce39e7388e14c193cc /src/progs/gtk/NodePropertiesWindow.cpp | |
parent | 94c0fff479da5e81dede855cf5c382cf23aadf7d (diff) | |
download | ingen-55c6e4c46d388189e35329a6519b9afa86f029fa.tar.gz ingen-55c6e4c46d388189e35329a6519b9afa86f029fa.tar.bz2 ingen-55c6e4c46d388189e35329a6519b9afa86f029fa.zip |
Switched patch "description" window into a properties window (hopefully to extend
in the future)
git-svn-id: http://svn.drobilla.net/lad/grauph@40 a436a847-0d15-0410-975c-d299462d15a1
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()); + } } |