mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-28 00:39:43 -05:00
Show context menus with popup() instead of exec().
exec() blocks the event loop.
This commit is contained in:
parent
50391e144d
commit
267e88001b
@ -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…
Reference in New Issue
Block a user