Fix favourite listing after removing one

This commit is contained in:
Anton Thomasson 2021-02-13 14:57:07 +01:00
parent 12dc15c122
commit 061a66caae

View file

@ -290,7 +290,7 @@ Page {
onClicked: {
removeRemorse.execute(delegate, qsTr("Removing printer"),
function() {db.removeFavourite(wifi.ssid, model.display);
IppDiscovery.favourites = db.getFavourites()})
IppDiscovery.favourites = db.getFavourites(wifi.ssid)})
}
}
}