Commit ba511f99 authored by David Redondo's avatar David Redondo 🏎
Browse files

Add downloaded pages instantly again

The object which id refers to was changed, so we did not call into
the model anymore.
parent 08707389
......@@ -196,13 +196,14 @@ Kirigami.ApplicationWindow {
id: getNewPageDialog
sourceComponent: NewStuff.Dialog {
id: downloadDialog
configFile: "plasma-systemmonitor.knsrc"
// I have a weird bug on my machine where getNewPageDialog.changedEntries is not an alias
// engine.changedEntries but for the engine itself, so I directly use the property of the engine
Connections {
target: getNewPageDialog.engine
target: downloadDialog.engine
function onChangedEntriesChanged() {
pagesModel.ghnsEntriesChanged(getNewPageDialog.engine.changedEntries)
pagesModel.ghnsEntriesChanged(downloadDialog.engine.changedEntries)
}
}
visible: true
......
Supports Markdown
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