diff options
Diffstat (limited to 'src/gui/NodeModule.cpp')
-rw-r--r-- | src/gui/NodeModule.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp index 0a24b39f..ee6b61d9 100644 --- a/src/gui/NodeModule.cpp +++ b/src/gui/NodeModule.cpp @@ -110,12 +110,12 @@ NodeModule::create(boost::shared_ptr<PatchCanvas> canvas, SharedPtr<NodeModel> n void NodeModule::show_human_names(bool b) { - Glib::Mutex::Lock lock(App::instance().world()->rdf_world->mutex()); - - if (b && node()->plugin()) + if (b && node()->plugin()) { + Glib::Mutex::Lock lock(App::instance().world()->rdf_world->mutex()); set_name(((PluginModel*)node()->plugin())->human_name()); - else + } else { b = false; + } if (!b) set_name(node()->symbol()); |