Commit e540cdde authored by Nate Graham's avatar Nate Graham
Browse files

[Sidebar view] Re-add mouse area for handling clicks on subcategory header

Now, even though there is a real button you can click on, if you happen
to click on any other part of the subcategory page header, it also goes
back, just like it used to. This is kind of hidden, but if we don't do
this, we will surely get complaints from people who had gotten used to
the nice big click area we had before.
parent f4af0f7a
......@@ -33,6 +33,12 @@ Kirigami.ScrollablePage {
leftPadding: Kirigami.Units.smallSpacing
rightPadding: Kirigami.Units.smallSpacing
background: MouseArea {
anchors.fill: parent
acceptedButtons: applicationWindow().wideScreen ? Qt.NoButton : Qt.LeftButton
onClicked: backButton.clicked()
contentItem: RowLayout {
anchors.fill: parent
spacing: Kirigami.Units.smallSpacing
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