mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-08 00:36:16 +00:00
Mobile/filtering: remove redundant busy indicator on dive list
We should use the global one instead. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b0a0e1e374
commit
84822ebd2f
1 changed files with 0 additions and 11 deletions
|
@ -19,7 +19,6 @@ Kirigami.ScrollablePage {
|
||||||
property color secondaryTextColor: subsurfaceTheme.secondaryTextColor
|
property color secondaryTextColor: subsurfaceTheme.secondaryTextColor
|
||||||
property int horizontalPadding: Kirigami.Units.gridUnit / 2 - Kirigami.Units.smallSpacing + 1
|
property int horizontalPadding: Kirigami.Units.gridUnit / 2 - Kirigami.Units.smallSpacing + 1
|
||||||
property string activeTrip
|
property string activeTrip
|
||||||
property bool showBusy: false
|
|
||||||
property QtObject diveListModel: diveModel
|
property QtObject diveListModel: diveModel
|
||||||
property string numShownText
|
property string numShownText
|
||||||
|
|
||||||
|
@ -327,13 +326,6 @@ Kirigami.ScrollablePage {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Controls.BusyIndicator {
|
|
||||||
running: showBusy
|
|
||||||
z: 10
|
|
||||||
anchors.fill: parent
|
|
||||||
anchors.margins: Kirigami.Units.gridUnit
|
|
||||||
}
|
|
||||||
|
|
||||||
StartPage {
|
StartPage {
|
||||||
id: startPage
|
id: startPage
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
@ -419,12 +411,9 @@ Kirigami.ScrollablePage {
|
||||||
text: ""
|
text: ""
|
||||||
placeholderText: "Full text search"
|
placeholderText: "Full text search"
|
||||||
onAccepted: {
|
onAccepted: {
|
||||||
showBusy = true
|
|
||||||
console.log("show busy")
|
|
||||||
rootItem.filterPattern = text
|
rootItem.filterPattern = text
|
||||||
diveModel.setFilter(text)
|
diveModel.setFilter(text)
|
||||||
console.log("back from setFilter")
|
console.log("back from setFilter")
|
||||||
showBusy = false
|
|
||||||
}
|
}
|
||||||
onEnabledChanged: {
|
onEnabledChanged: {
|
||||||
// reset the filter when it gets toggled
|
// reset the filter when it gets toggled
|
||||||
|
|
Loading…
Add table
Reference in a new issue