Commit d13ed956 authored by David Redondo's avatar David Redondo 🏎 Committed by Nate Graham
Browse files

Fix page export

'page' is an oversight from when this was moved from EditablePage
during development.
BUG:440551


(cherry picked from commit 2eb00082)
parent 5dab4bb6
......@@ -249,7 +249,7 @@ Kirigami.ApplicationWindow {
title: i18nc("@title:window %1 is the name of the page that is being exported", "Export %1", app.pageStack.currentItem.title)
defaultSuffix: "page"
nameFilters: [i18nc("Name filter in file dialog", "System Monitor page (*.page)")]
onAccepted: page.saveAs(fileUrl)
onAccepted: app.pageStack.currentItem.pageData.saveAs(fileUrl)
}
}
Page.DialogLoader {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment