Skip to content
Snippets Groups Projects
Verified Commit 84b2cf08 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Set Dialog flag on Dialogs

Relates to #538
parent a6c89d13
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@ ApplicationWindow {
palette: colors
color: colors.window
modality: Qt.WindowModal
flags: Qt.Dialog
Shortcut {
sequence: StandardKey.Cancel
......
......@@ -22,6 +22,8 @@ ApplicationWindow {
palette: colors
color: colors.window
title: profile.isGlobalUserProfile ? qsTr("Global User Profile") : qsTr("Room User Profile")
modality: Qt.WindowModal
flags: Qt.Dialog
Shortcut {
sequence: StandardKey.Cancel
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment