mirror of
				https://git.wownero.com/wowlet/wowlet.git
				synced 2024-08-15 01:03:14 +00:00 
			
		
		
		
	Fixes connect bug (via context menu) for custom nodes
This commit is contained in:
		
							parent
							
								
									096b28318c
								
							
						
					
					
						commit
						c3e9fbb25a
					
				
					 1 changed files with 1 additions and 6 deletions
				
			
		| 
						 | 
					@ -80,12 +80,7 @@ void NodeWidget::showContextMenu(const QPoint &pos, const WowletNode &node) {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void NodeWidget::onContextConnect() {
 | 
					void NodeWidget::onContextConnect() {
 | 
				
			||||||
    QObject *obj = sender();
 | 
					    //QObject *obj = sender();
 | 
				
			||||||
    if (obj == ui->customView)
 | 
					 | 
				
			||||||
        m_activeView = ui->customView;
 | 
					 | 
				
			||||||
    else
 | 
					 | 
				
			||||||
        m_activeView = ui->wsView;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    WowletNode node = this->selectedNode();
 | 
					    WowletNode node = this->selectedNode();
 | 
				
			||||||
    if (!node.full.isEmpty())
 | 
					    if (!node.full.isEmpty())
 | 
				
			||||||
        emit connectToNode(node);
 | 
					        emit connectToNode(node);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue