1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-05-01 08:27:45 +00:00

Fix remaining settings window bug

It would mysteriously freeze up when going to certain pages, but that
should be fixed by explicitly setting the window now.
This commit is contained in:
Joshua Goins 2025-04-29 15:12:07 -04:00
parent c52941fef6
commit 1708aabb14

View file

@ -28,7 +28,7 @@ Kirigami.Page {
Kirigami.Action {
text: i18nc("@action:button", "Settings")
icon.name: "configure"
onTriggered: Qt.createComponent("zone.xiv.astra", "SettingsPage").createObject().open()
onTriggered: Qt.createComponent("zone.xiv.astra", "SettingsPage").createObject(page, { window: applicationWindow() }).open()
}
]