Commit 45635e36 authored by Nate Graham's avatar Nate Graham
Browse files

Fix sort menu positioning

BUG: 448083
FIXED-IN: 21.12.2
parent e2ccbc8c
Pipeline #123140 passed with stage
in 18 seconds
......@@ -57,13 +57,14 @@ Item {
Component {
id: sortMenuButton
FlatButtonWithToolTip {
id: sortMenuButton
Kirigami.Theme.colorSet: Kirigami.Settings.isMobile ? Kirigami.Theme.Complementary : Kirigami.Theme.Window
Kirigami.Theme.inherit: false
objectName: 'sortMenuButton'
display: AbstractButton.TextOnly
onClicked: {
sortMenu.sortOrder = navigationBar.sortOrder
sortMenu.popup(parent)
sortMenu.popup(sortMenuButton, sortMenuButton.x, sortMenuButton.y + sortMenuButton.height)
}
// Custom content item for now to replicate the look of a button
......
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