mirror of
https://github.com/redstrate/Astra.git
synced 2025-05-11 20:47:45 +00:00
Fix dialog parenting AGAIN
This commit is contained in:
parent
23f4694365
commit
a505447e80
4 changed files with 7 additions and 6 deletions
|
@ -165,7 +165,7 @@ FormCard.FormCardPage {
|
|||
id: lodestoneDialog
|
||||
title: i18n("Enter Lodestone Id")
|
||||
standardButtons: Kirigami.Dialog.Ok | Kirigami.Dialog.Cancel
|
||||
parent: page
|
||||
parent: page.QQC2.Overlay.overlay
|
||||
|
||||
onAccepted: {
|
||||
page.account.config.lodestoneId = lodestoneIdField.text;
|
||||
|
@ -237,7 +237,7 @@ FormCard.FormCardPage {
|
|||
Kirigami.PromptDialog {
|
||||
id: otpDialog
|
||||
title: i18n("Enter OTP Secret")
|
||||
parent: page
|
||||
parent: page.QQC2.Overlay.overlay
|
||||
|
||||
standardButtons: Kirigami.Dialog.Ok | Kirigami.Dialog.Cancel
|
||||
|
||||
|
@ -433,7 +433,7 @@ FormCard.FormCardPage {
|
|||
subtitle: i18nc("@label", "Are you sure you want to delete this account?")
|
||||
standardButtons: Kirigami.Dialog.Ok | Kirigami.Dialog.Cancel
|
||||
showCloseButton: false
|
||||
parent: page
|
||||
parent: page.QQC2.Overlay.overlay
|
||||
|
||||
onAccepted: {
|
||||
LauncherCore.accountManager.deleteAccount(page.account);
|
||||
|
|
|
@ -57,7 +57,7 @@ FormCard.FormCardPage {
|
|||
readonly property Kirigami.PromptDialog errorDialog: Kirigami.PromptDialog {
|
||||
showCloseButton: false
|
||||
standardButtons: Kirigami.Dialog.Ok
|
||||
parent: page
|
||||
parent: page.QQC2.Overlay.overlay
|
||||
}
|
||||
|
||||
data: Connections {
|
||||
|
|
|
@ -337,7 +337,7 @@ FormCard.FormCardPage {
|
|||
subtitle: i18nc("@label", "Are you sure you want to delete this profile?")
|
||||
standardButtons: Kirigami.Dialog.Ok | Kirigami.Dialog.Cancel
|
||||
showCloseButton: false
|
||||
parent: page
|
||||
parent: page.QQC2.Overlay.overlay
|
||||
|
||||
QQC2.Switch {
|
||||
id: deleteFilesSwitch
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
import QtQuick.Controls as QQC2
|
||||
|
||||
import org.kde.kirigami as Kirigami
|
||||
import org.kde.kirigamiaddons.formcard as FormCard
|
||||
|
@ -141,6 +142,6 @@ FormCard.FormCardPage {
|
|||
title: i18n("Login Error")
|
||||
showCloseButton: false
|
||||
standardButtons: Kirigami.Dialog.Ok
|
||||
parent: page
|
||||
parent: page.QQC2.Overlay.overlay
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue