diff options
author | David Robillard <d@drobilla.net> | 2008-08-14 00:06:34 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-08-14 00:06:34 +0000 |
commit | a24f1ad2994ff5983ee1925f6a5f2fed58391bcd (patch) | |
tree | d8a7327b26517a3969b525bee59e0c4d6190d3d7 /src/libs/gui | |
parent | 0d6f0c2fe47b5186e6f46c0d5f7f66bb3f9bd069 (diff) | |
download | ingen-a24f1ad2994ff5983ee1925f6a5f2fed58391bcd.tar.gz ingen-a24f1ad2994ff5983ee1925f6a5f2fed58391bcd.tar.bz2 ingen-a24f1ad2994ff5983ee1925f6a5f2fed58391bcd.zip |
Fix initial stacked border state of modules on patch importing.
git-svn-id: http://svn.drobilla.net/lad/ingen@1361 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui')
-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; } |