some improvement

This commit is contained in:
2025-05-08 03:23:45 +02:00
parent 25fd30a0c3
commit b4330c0362
10 changed files with 29 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ export default {
downloadClicked(){
if(!this.is_download_finished) return;
if(this.$qt.is_active){
this.$qt.callMethod("add_files", this.file);
this.$qt.callMethod("add_files", [this.file]);
}else{
let a = document.createElement("a");
a.href = this.file.download_url;