I have a a QWidgetAction which holds a QWidget composed of a QLineEdit and a QPushButton. Once the user press the button the QWidgetAction call the trigger slot.
Now I have a QMenu which I activate with exec. The problem is that even though trigger is called (I've connected it to a print function as well to check) the menu won't close.
Any idea why? I'm at my wits' end.
(Searching on the net I have found other people with the same problem, but no answers.)




 
					
					 
							
						 
    
    
    
    
    
    
   
    
    
       
    
    
    
    
   QWidgetAction refuse to disappear on trigger()
 QWidgetAction refuse to disappear on trigger()
		 
				
				
				
					 Reply With Quote
  Reply With Quote 
			
Bookmarks