1
0

qml: ElDialog now defaults to parent on Overlay.overlay

This was replicated in basically all ElDialog derived dialogs
This commit is contained in:
Sander van Grieken
2023-03-20 16:52:21 +01:00
parent b8d4ccd432
commit 677e1259df
30 changed files with 8 additions and 174 deletions

View File

@@ -13,11 +13,7 @@ ElDialog {
title: qsTr('Loading Wallet')
iconSource: Qt.resolvedUrl('../../icons/wallet.png')
modal: true
parent: Overlay.overlay
Overlay.modal: Rectangle {
color: "#aa000000"
}
x: Math.floor((parent.width - implicitWidth) / 2)
y: Math.floor((parent.height - implicitHeight) / 2)