mirror of
https://github.com/redstrate/Astra.git
synced 2025-06-17 18:37:45 +00:00
Fix settings dialogs going to the wrong window
This commit is contained in:
parent
58c304086c
commit
7be692c9e3
4 changed files with 7 additions and 3 deletions
|
@ -148,8 +148,8 @@ FormCard.FormCardPage {
|
|||
Kirigami.PromptDialog {
|
||||
id: lodestoneDialog
|
||||
title: i18n("Enter Lodestone Id")
|
||||
|
||||
standardButtons: Kirigami.Dialog.Ok | Kirigami.Dialog.Cancel
|
||||
parent: page
|
||||
|
||||
onAccepted: page.account.config.lodestoneId = lodestoneIdField.text
|
||||
|
||||
|
@ -212,6 +212,7 @@ FormCard.FormCardPage {
|
|||
Kirigami.PromptDialog {
|
||||
id: otpDialog
|
||||
title: i18n("Enter OTP Secret")
|
||||
parent: page
|
||||
|
||||
standardButtons: Kirigami.Dialog.Ok | Kirigami.Dialog.Cancel
|
||||
|
||||
|
@ -329,6 +330,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
|
||||
|
||||
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.QQC2.Overlay.overlay
|
||||
parent: page
|
||||
}
|
||||
|
||||
data: Connections {
|
||||
|
|
|
@ -199,6 +199,7 @@ FormCard.FormCardPage {
|
|||
Kirigami.PromptDialog {
|
||||
id: gamescopeSettingsDialog
|
||||
title: i18n("Configure Gamescope")
|
||||
parent: page
|
||||
|
||||
Kirigami.FormLayout {
|
||||
QQC2.CheckBox {
|
||||
|
@ -326,6 +327,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
|
||||
|
||||
QQC2.Switch {
|
||||
id: deleteFilesSwitch
|
||||
|
|
|
@ -136,8 +136,8 @@ FormCard.FormCardPage {
|
|||
Kirigami.PromptDialog {
|
||||
id: errorDialog
|
||||
title: i18n("Login Error")
|
||||
|
||||
showCloseButton: false
|
||||
standardButtons: Kirigami.Dialog.Ok
|
||||
parent: page
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue