diff options
-rw-r--r-- | src/libs/gui/NodeModule.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libs/gui/NodeModule.cpp b/src/libs/gui/NodeModule.cpp index e2caa521..4b1297c8 100644 --- a/src/libs/gui/NodeModule.cpp +++ b/src/libs/gui/NodeModule.cpp @@ -49,8 +49,6 @@ NodeModule::NodeModule(boost::shared_ptr<PatchCanvas> canvas, SharedPtr<NodeMode node->signal_variable.connect(sigc::mem_fun(this, &NodeModule::set_variable)); node->signal_polyphonic.connect(sigc::mem_fun(this, &NodeModule::set_stacked_border)); node->signal_renamed.connect(sigc::mem_fun(this, &NodeModule::rename)); - - set_stacked_border(node->polyphonic()); } @@ -97,6 +95,7 @@ NodeModule::create(boost::shared_ptr<PatchCanvas> canvas, SharedPtr<NodeModel> n } ret->resize(); + ret->set_stacked_border(node->polyphonic()); return ret; } |