Commit 03242292 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix menu position

parent b6dcd52e
......@@ -199,7 +199,7 @@ void SieveScriptListBox::slotCustomMenuRequested(const QPoint &pos)
deleteScriptAction->setIcon(QIcon::fromTheme(QStringLiteral("edit-delete")));
connect(deleteScriptAction, &QAction::triggered, this, &SieveScriptListBox::slotDelete);
}
menu.exec(mapToGlobal(pos));
menu.exec(QCursor::pos());
}
void SieveScriptListBox::setSieveEditorGraphicalModeWidget(SieveEditorGraphicalModeWidget *graphicalModeWidget)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment