Fixes connect bug (via context menu) for custom nodes

pull/56/head
dsc 3 years ago
parent 096b28318c
commit c3e9fbb25a

@ -80,12 +80,7 @@ void NodeWidget::showContextMenu(const QPoint &pos, const WowletNode &node) {
}
void NodeWidget::onContextConnect() {
QObject *obj = sender();
if (obj == ui->customView)
m_activeView = ui->customView;
else
m_activeView = ui->wsView;
//QObject *obj = sender();
WowletNode node = this->selectedNode();
if (!node.full.isEmpty())
emit connectToNode(node);

Loading…
Cancel
Save