Verified Commit 217ac386 authored by Jonah Brüchert's avatar Jonah Brüchert 🌳

modules: time: Fix search field

The Kirigami OverlaySheet apparently closes now if the header receives touch input, which made it impossible to search
parent 833606c4
Pipeline #18768 passed with stage
in 8 minutes and 21 seconds
......@@ -118,15 +118,7 @@ SimpleKCM {
Kirigami.OverlaySheet {
id: timeZonePickerSheet
header: ColumnLayout {
Kirigami.Heading { text: i18nc("@title:window", "Pick Timezone") }
Kirigami.SearchField {
Layout.fillWidth: true
onTextChanged: {
kcm.timeZoneFilterChanged(text)
}
}
}
header: Kirigami.Heading { text: i18nc("@title:window", "Pick Timezone") }
footer: RowLayout {
Controls.Button {
......@@ -138,6 +130,13 @@ SimpleKCM {
}
}
ListView {
header: Kirigami.SearchField {
Layout.fillWidth: true
onTextChanged: {
kcm.timeZoneFilterChanged(text)
}
}
clip: true
anchors.fill: parent
implicitWidth: 18 * Kirigami.Units.gridUnit
......
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