Fix problem with definition sequence of PageSettingsKillSwitchExceptions.pml elements
This commit is contained in:
parent
a120f3d5bd
commit
d1f5d8815b
1 changed files with 25 additions and 19 deletions
|
|
@ -66,27 +66,12 @@ PageType {
|
|||
|
||||
ScrollBar.vertical: ScrollBarType { }
|
||||
|
||||
footer: AddSitePanel {
|
||||
id: addSitePanel
|
||||
|
||||
footer: Item {
|
||||
width: listView.width
|
||||
z: 10
|
||||
|
||||
enabled: root.pageEnabled
|
||||
placeholderText: qsTr("IPv4 address")
|
||||
|
||||
onAddClicked: function(text) {
|
||||
PageController.showBusyIndicator(true)
|
||||
AllowedDnsController.addDns(text)
|
||||
PageController.showBusyIndicator(false)
|
||||
height: addSitePanel.height
|
||||
}
|
||||
|
||||
onMoreClicked: {
|
||||
moreActionsDrawer.openTriggered()
|
||||
}
|
||||
}
|
||||
|
||||
footerPositioning: ListView.OverlayFooter
|
||||
footerPositioning: ListView.InlineFooter
|
||||
|
||||
model: SortFilterProxyModel {
|
||||
id: dnsFilterModel
|
||||
|
|
@ -142,6 +127,27 @@ PageType {
|
|||
}
|
||||
}
|
||||
|
||||
AddSitePanel {
|
||||
id: addSitePanel
|
||||
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
|
||||
enabled: root.pageEnabled
|
||||
placeholderText: qsTr("IPv4 address")
|
||||
|
||||
onAddClicked: function(text) {
|
||||
PageController.showBusyIndicator(true)
|
||||
AllowedDnsController.addDns(text)
|
||||
PageController.showBusyIndicator(false)
|
||||
}
|
||||
|
||||
onMoreClicked: {
|
||||
moreActionsDrawer.openTriggered()
|
||||
}
|
||||
}
|
||||
|
||||
DrawerType2 {
|
||||
id: moreActionsDrawer
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue