mirror of
				https://github.com/keepassxreboot/keepassxc.git
				synced 2025-11-03 23:24:06 -05:00 
			
		
		
		
	Show context menus with popup() instead of exec().
exec() blocks the event loop.
This commit is contained in:
		
							parent
							
								
									50391e144d
								
							
						
					
					
						commit
						267e88001b
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -530,10 +530,10 @@ void DatabaseWidget::updateEntryActions()
 | 
			
		|||
 | 
			
		||||
void DatabaseWidget::showGroupContextMenu(const QPoint& pos)
 | 
			
		||||
{
 | 
			
		||||
    m_menuGroup->exec(m_groupView->viewport()->mapToGlobal(pos));
 | 
			
		||||
    m_menuGroup->popup(m_groupView->viewport()->mapToGlobal(pos));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void DatabaseWidget::showEntryContextMenu(const QPoint& pos)
 | 
			
		||||
{
 | 
			
		||||
    m_menuEntry->exec(m_entryView->viewport()->mapToGlobal(pos));
 | 
			
		||||
    m_menuEntry->popup(m_entryView->viewport()->mapToGlobal(pos));
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue