Skip to content

Commit 6606cec

Browse files
committed
One more selection fix
1 parent 8a9f930 commit 6606cec

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Interface/Application/Subnetworks.cc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,12 @@ void NetworkEditor::sendItemsToParent()
130130
module->menuFunction();
131131
}
132132

133+
auto proxy = dynamic_cast<ModuleProxyWidget*>(item);
134+
if (proxy)
135+
{
136+
connect(parentNetwork_->scene_, SIGNAL(selectionChanged()), proxy, SLOT(highlightIfSelected()));
137+
}
138+
133139
parentNetwork_->scene_->addItem(item);
134140
item->setVisible(true);
135141
item->setData(SUBNET_KEY, 0);

0 commit comments

Comments
 (0)