attempting to display to user which file was saved
This commit is contained in:
parent
479c22087f
commit
3b96885afd
2 changed files with 12 additions and 3 deletions
|
@ -289,9 +289,10 @@ Kirigami.ApplicationWindow {
|
|||
target: ServiceItemModel
|
||||
function onSavedToFile(saved, file) {
|
||||
if (saved) {
|
||||
Utils.dbg(file);
|
||||
console.log(file);
|
||||
showPassiveNotification("Saved to ", + Qt.resolvedUrl(file));
|
||||
let path = file.toString();
|
||||
path = path.replace(/^(file:\/{2})/,"");
|
||||
let cleanPath = decodeURIComponent(path);
|
||||
showPassiveNotification("Saved to ", + cleanPath);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue