Commit 6296f888 authored by Alexander Stippich's avatar Alexander Stippich
Browse files

Always open menu at the same position

Previously, the menu would open at the cursor
position. Right align it beneath the media
control bar.

Should also fix
BUG: 406025

Reviewers: mgallien, ngraham

Reviewed By: ngraham

Tags: #elisa

Differential Revision:
parent 9e28b008
......@@ -111,11 +111,13 @@ ApplicationWindow {
Connections {
target: headerBar.playerControl
onOpenMenu: if (applicationMenu.visible) {
} else {
onOpenMenu: {
if (applicationMenu.visible) {
} else {
applicationMenu.popup(mainWindow.width - applicationMenu.width, headerBar.height)
Connections {
Markdown is supported
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