From 84b2cf08a196e4af6bf40073d5416c4bdbdee031 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Thu, 15 Apr 2021 01:39:32 +0200 Subject: Set Dialog flag on Dialogs Relates to #538 --- resources/qml/device-verification/DeviceVerification.qml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'resources/qml/device-verification/DeviceVerification.qml') diff --git a/resources/qml/device-verification/DeviceVerification.qml b/resources/qml/device-verification/DeviceVerification.qml index fee0284a..41ed8d57 100644 --- a/resources/qml/device-verification/DeviceVerification.qml +++ b/resources/qml/device-verification/DeviceVerification.qml @@ -15,9 +15,12 @@ ApplicationWindow { onClosing: TimelineManager.removeVerificationFlow(flow) title: stack.currentItem.title flags: Qt.Dialog + modality: Qt.WindowModal palette: colors height: stack.implicitHeight width: stack.implicitWidth + x: MainWindow.x + (MainWindow.width / 2) - (width / 2) + y: MainWindow.y + (MainWindow.height / 2) - (height / 2) StackView { id: stack -- cgit 1.5.1