Index: sources/gui/qml/components/ModalDialog.qml =================================================================== diff -u -r5f4b3aacfede4aa545a44c7f3b33ca649b81aac7 -r0ced87f43c28bcc9f3402e19284030ad1405e9e8 --- sources/gui/qml/components/ModalDialog.qml (.../ModalDialog.qml) (revision 5f4b3aacfede4aa545a44c7f3b33ca649b81aac7) +++ sources/gui/qml/components/ModalDialog.qml (.../ModalDialog.qml) (revision 0ced87f43c28bcc9f3402e19284030ad1405e9e8) @@ -21,7 +21,6 @@ // Project // Qml imports import "qrc:/globals" -import "qrc:/compounds" /*! * \brief The parent item for modal dialogs @@ -38,7 +37,8 @@ property alias notificationText : _notification.text property alias notification : _notification property bool showDropShadow : false - property alias numPad : _numPad + property alias backgroundItem : _backgroundItem.children + property alias backgroundItemZ : _backgroundItem.z width : Variables.dialogWidth height : Variables.dialogHeight @@ -77,11 +77,8 @@ anchors.fill : _backgroundRect } - NumPad { id: _numPad - x : _root.width - _numPad.width - y : 0 - onCancel : _numPad.hide() - } + // 👇 Placeholder for an injected component. Ex. numpad + Item { id: _backgroundItem } } onVisibleChanged: {