summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/PatchCanvas.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp
index 66868556..bf79e504 100644
--- a/src/gui/PatchCanvas.cpp
+++ b/src/gui/PatchCanvas.cpp
@@ -399,9 +399,9 @@ PatchCanvas::add_node(SharedPtr<const NodeModel> nm)
module = SubpatchModule::create(*this, pm, _human_names);
} else {
module = NodeModule::create(*this, nm, _human_names);
- const PluginModel* plugm = dynamic_cast<const PluginModel*>(nm->plugin());
- if (plugm && !plugm->icon_path().empty())
- module->set_icon(_app.icon_from_path(plugm->icon_path(), 100).operator->());
+ //const PluginModel* plugm = dynamic_cast<const PluginModel*>(nm->plugin());
+ //if (plugm && !plugm->icon_path().empty())
+ // module->set_icon(_app.icon_from_path(plugm->icon_path(), 100).operator->());
}
module->show();