mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 07:11:29 +02:00
Fixes connect bug (via context menu) for custom nodes
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user