Fix problem with definition sequence of PageSettingsKillSwitchExceptions.pml elements

This commit is contained in:
aiamnezia 2025-03-18 22:41:56 +04:00
parent a120f3d5bd
commit d1f5d8815b

View file

@ -65,28 +65,13 @@ PageType {
displayMarginEnd: 40
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)
}
onMoreClicked: {
moreActionsDrawer.openTriggered()
}
height: addSitePanel.height
}
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