Commit 8fceebcd 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.


(cherry picked from commit ba511f99)
parent b53b7080
......@@ -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
......
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